mirror of
https://github.com/PuerkitoBio/goquery
synced 2025-09-26 21:01:21 +08:00
Bump GitHub workflows to their latest versions
This commit is contained in:
5
.github/dependabot.yml
vendored
5
.github/dependabot.yml
vendored
@@ -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"
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -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
|
||||||
|
10
README.md
10
README.md
@@ -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
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user