diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 72c8286f..f8d27583 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -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 }} diff --git a/.golangci.yml b/.golangci.yml index 8485c483..13795e60 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -7,7 +7,6 @@ linters: - dogsled - dupl - errcheck - - exportloopref - exhaustive - gochecknoinits - goconst @@ -33,6 +32,7 @@ linters: - unused - whitespace - gofumpt + - copyloopvar run: timeout: 3m diff --git a/go.mod b/go.mod index 97b377df..2494f6b0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/appleboy/gorush -go 1.21 +go 1.22 require ( firebase.google.com/go/v4 v4.14.1