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 1717
1818 steps :
1919 - name : Checkout repository
20- uses : actions/checkout@v3
20+ uses : actions/checkout@v4
2121
2222 - name : Initialize CodeQL
2323 uses : github/codeql-action/init@v2
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Install Go
14- uses : actions/setup-go@v3
14+ uses : actions/setup-go@v5
1515 with :
16- go-version : " 1.20 "
16+ go-version : " 1.22 "
1717 - name : Checkout code
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v4
1919 - name : Fuzz
2020 run : make fuzz
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414
1515 - name : Setup Go
16- uses : actions/setup-go@v3
16+ uses : actions/setup-go@v5
1717 with :
18- go-version : " 1.20 "
18+ go-version : " 1.22 "
1919 - name : golangci-lint
20- uses : golangci/golangci-lint-action@v3.2.0
20+ uses : golangci/golangci-lint-action@v4
2121 with :
22- version : v1.52
22+ version : v1.56
Original file line number Diff line number Diff line change 44 test :
55 strategy :
66 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]
88 platform : [ubuntu-latest, macos-latest, windows-latest]
99 runs-on : ${{ matrix.platform }}
1010 steps :
1111 - name : Install Go
12- uses : actions/setup-go@v3
12+ uses : actions/setup-go@v5
1313 with :
1414 go-version : ${{ matrix.go-version }}
1515 - name : Checkout code
16- uses : actions/checkout@v3
16+ uses : actions/checkout@v4
1717 - name : Test
1818 env :
1919 GO111MODULE : on
Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ $(GOLANGCI_LINT):
2727 # Install golangci-lint. The configuration for it is in the .golangci.yml
2828 # file in the root of the repository
2929 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) {
805805 f .Add (tc )
806806 }
807807
808- f .Fuzz (func (t * testing.T , a string ) {
808+ f .Fuzz (func (_ * testing.T , a string ) {
809809 _ , _ = NewConstraint (a )
810810 })
811811}
Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ func FuzzNewVersion(f *testing.F) {
689689 f .Add (tc )
690690 }
691691
692- f .Fuzz (func (t * testing.T , a string ) {
692+ f .Fuzz (func (_ * testing.T , a string ) {
693693 _ , _ = NewVersion (a )
694694 })
695695}
@@ -701,7 +701,7 @@ func FuzzStrictNewVersion(f *testing.F) {
701701 f .Add (tc )
702702 }
703703
704- f .Fuzz (func (t * testing.T , a string ) {
704+ f .Fuzz (func (_ * testing.T , a string ) {
705705 _ , _ = StrictNewVersion (a )
706706 })
707707}
You can’t perform that action at this time.
0 commit comments