Skip to content

Commit 8c942b0

Browse files
authored
Merge pull request #16 from thaJeztah/update_gha
gha: update actions, and update to go1.21, go1.22
2 parents 371b75e + 343e590 commit 8c942b0

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
-
3636
name: Checkout
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
with:
3939
fetch-depth: 2
4040
-

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121

2222
- name: Run FOSSA scan and upload build data
2323
uses: fossa-contrib/fossa-action@v2

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
build:
1818
strategy:
1919
matrix:
20-
go-version: [1.20.x, 1.21.x]
20+
go-version: [1.21.x, 1.22.x]
2121
os: [ubuntu-latest, windows-latest, macos-latest]
2222
runs-on: ${{ matrix.os }}
2323
timeout-minutes: 10
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- name: Set up Go
28-
uses: actions/setup-go@v4
28+
uses: actions/setup-go@v5
2929
with:
3030
go-version: ${{ matrix.go-version }}
3131

@@ -34,16 +34,16 @@ jobs:
3434
make build
3535
3636
- name: lint
37-
uses: golangci/golangci-lint-action@v3
37+
uses: golangci/golangci-lint-action@v6
3838
with:
39-
version: v1.53
39+
version: v1.59
4040
args: --print-resources-usage --timeout=10m --verbose
4141

4242
- name: Test
4343
run: |
4444
make coverage
4545
4646
- name: Codecov
47-
uses: codecov/codecov-action@v3
47+
uses: codecov/codecov-action@v4
4848
with:
4949
directory: ./

fuzz_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
// that targets ParseNormalizedNamed
99
// nolint:deadcode
1010
func FuzzParseNormalizedNamed(f *testing.F) {
11-
f.Fuzz(func(t *testing.T, data string) {
11+
f.Fuzz(func(_ *testing.T, data string) {
1212
_, _ = ParseNormalizedNamed(data)
1313
})
1414
}

0 commit comments

Comments
 (0)