Skip to content

Commit

Permalink
ci: update CI configurations and Go version to 1.22
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
appleboy committed Dec 12, 2024
1 parent d0e1045 commit 0be569f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ jobs:
run: make test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
flags: ${{ matrix.os }},go-${{ matrix.go }}
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- exhaustive
- gochecknoinits
- goconst
Expand All @@ -33,6 +32,7 @@ linters:
- unused
- whitespace
- gofumpt
- copyloopvar

run:
timeout: 3m
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/appleboy/gorush

go 1.21
go 1.22

require (
firebase.google.com/go/v4 v4.14.1
Expand Down

0 comments on commit 0be569f

Please sign in to comment.