Bump GitHub workflows to their latest versions

This commit is contained in:
Andreas Deininger
2024-07-02 21:54:31 +02:00
parent 1bc4a06d02
commit 400486e492
4 changed files with 13 additions and 8 deletions

View File

@@ -5,3 +5,8 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
# Enable version updates for GitHub action workflows
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@@ -14,12 +14,12 @@ jobs:
steps: steps:
- name: Install Go - name: Install Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Test - name: Test
run: go test ./... -v -cover run: go test ./... -v -cover

View File

@@ -184,15 +184,15 @@ There are a number of ways you can support the project:
The [BSD 3-Clause license][bsd], the same as the [Go language][golic]. Cascadia's license is [here][caslic]. The [BSD 3-Clause license][bsd], the same as the [Go language][golic]. Cascadia's license is [here][caslic].
[jquery]: http://jquery.com/ [jquery]: https://jquery.com/
[go]: http://golang.org/ [go]: https://go.dev/
[cascadia]: https://github.com/andybalholm/cascadia [cascadia]: https://github.com/andybalholm/cascadia
[cascadiacli]: https://github.com/suntong/cascadia [cascadiacli]: https://github.com/suntong/cascadia
[bsd]: http://opensource.org/licenses/BSD-3-Clause [bsd]: https://opensource.org/licenses/BSD-3-Clause
[golic]: http://golang.org/LICENSE [golic]: https://go.dev/LICENSE
[caslic]: https://github.com/andybalholm/cascadia/blob/master/LICENSE [caslic]: https://github.com/andybalholm/cascadia/blob/master/LICENSE
[doc]: https://pkg.go.dev/github.com/PuerkitoBio/goquery [doc]: https://pkg.go.dev/github.com/PuerkitoBio/goquery
[index]: http://api.jquery.com/index/ [index]: https://api.jquery.com/index/
[gonet]: https://github.com/golang/net/ [gonet]: https://github.com/golang/net/
[html]: https://pkg.go.dev/golang.org/x/net/html [html]: https://pkg.go.dev/golang.org/x/net/html
[wiki]: https://github.com/PuerkitoBio/goquery/wiki/Tips-and-tricks [wiki]: https://github.com/PuerkitoBio/goquery/wiki/Tips-and-tricks

View File

@@ -62,7 +62,7 @@ func (s *Selection) AddBackFiltered(selector string) *Selection {
} }
// AddBackMatcher reduces the previous set of elements on the stack to those that match // AddBackMatcher reduces the previous set of elements on the stack to those that match
// the mateher, and adds them to the curernt set. // the matcher, and adds them to the current set.
// It returns a new Selection object containing the current Selection combined // It returns a new Selection object containing the current Selection combined
// with the filtered previous one // with the filtered previous one
func (s *Selection) AddBackMatcher(m Matcher) *Selection { func (s *Selection) AddBackMatcher(m Matcher) *Selection {