Skip to content

Commit 0be569f

Browse files
committed
ci: update CI configurations and Go version to 1.22
- Update Codecov action from v4 to v5 in GitHub workflows - Remove `exportloopref` linter and add `copyloopvar` linter in GolangCI configuration - Update Go version from 1.21 to 1.22 in go.mod Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent d0e1045 commit 0be569f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ jobs:
6363
run: make test
6464

6565
- name: Upload coverage to Codecov
66-
uses: codecov/codecov-action@v4
66+
uses: codecov/codecov-action@v5
6767
with:
6868
flags: ${{ matrix.os }},go-${{ matrix.go }}

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ linters:
77
- dogsled
88
- dupl
99
- errcheck
10-
- exportloopref
1110
- exhaustive
1211
- gochecknoinits
1312
- goconst
@@ -33,6 +32,7 @@ linters:
3332
- unused
3433
- whitespace
3534
- gofumpt
35+
- copyloopvar
3636

3737
run:
3838
timeout: 3m

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/appleboy/gorush
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
firebase.google.com/go/v4 v4.14.1

0 commit comments

Comments
 (0)