File tree Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 17
17
18
18
steps :
19
19
- name : Checkout repository
20
- uses : actions/checkout@v3
20
+ uses : actions/checkout@v4
21
21
22
22
- name : Initialize CodeQL
23
23
uses : github/codeql-action/init@v2
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Install Go
14
- uses : actions/setup-go@v3
14
+ uses : actions/setup-go@v5
15
15
with :
16
- go-version : " 1.20 "
16
+ go-version : " 1.22 "
17
17
- name : Checkout code
18
- uses : actions/checkout@v3
18
+ uses : actions/checkout@v4
19
19
- name : Fuzz
20
20
run : make fuzz
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ jobs:
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@v3
13
+ uses : actions/checkout@v4
14
14
15
15
- name : Setup Go
16
- uses : actions/setup-go@v3
16
+ uses : actions/setup-go@v5
17
17
with :
18
- go-version : " 1.20 "
18
+ go-version : " 1.22 "
19
19
- name : golangci-lint
20
- uses : golangci/golangci-lint-action@v3.2.0
20
+ uses : golangci/golangci-lint-action@v4
21
21
with :
22
- version : v1.52
22
+ version : v1.56
Original file line number Diff line number Diff line change 4
4
test :
5
5
strategy :
6
6
matrix :
7
- go-version : [1.18 .x, 1.19 .x, 1.20 .x]
7
+ go-version : [1.20 .x, 1.21 .x, 1.22 .x]
8
8
platform : [ubuntu-latest, macos-latest, windows-latest]
9
9
runs-on : ${{ matrix.platform }}
10
10
steps :
11
11
- name : Install Go
12
- uses : actions/setup-go@v3
12
+ uses : actions/setup-go@v5
13
13
with :
14
14
go-version : ${{ matrix.go-version }}
15
15
- name : Checkout code
16
- uses : actions/checkout@v3
16
+ uses : actions/checkout@v4
17
17
- name : Test
18
18
env :
19
19
GO111MODULE : on
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ $(GOLANGCI_LINT):
27
27
# Install golangci-lint. The configuration for it is in the .golangci.yml
28
28
# file in the root of the repository
29
29
echo ${GOPATH}
30
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH ) /bin v1.17.1
30
+ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH ) /bin v1.56.2
Original file line number Diff line number Diff line change @@ -805,7 +805,7 @@ func FuzzNewConstraint(f *testing.F) {
805
805
f .Add (tc )
806
806
}
807
807
808
- f .Fuzz (func (t * testing.T , a string ) {
808
+ f .Fuzz (func (_ * testing.T , a string ) {
809
809
_ , _ = NewConstraint (a )
810
810
})
811
811
}
Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ func FuzzNewVersion(f *testing.F) {
689
689
f .Add (tc )
690
690
}
691
691
692
- f .Fuzz (func (t * testing.T , a string ) {
692
+ f .Fuzz (func (_ * testing.T , a string ) {
693
693
_ , _ = NewVersion (a )
694
694
})
695
695
}
@@ -701,7 +701,7 @@ func FuzzStrictNewVersion(f *testing.F) {
701
701
f .Add (tc )
702
702
}
703
703
704
- f .Fuzz (func (t * testing.T , a string ) {
704
+ f .Fuzz (func (_ * testing.T , a string ) {
705
705
_ , _ = StrictNewVersion (a )
706
706
})
707
707
}
You can’t perform that action at this time.
0 commit comments