Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Feb 19, 2024
1 parent a4fac6b commit 555306c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.19", "1.21"]
go: ["1.21", "1.22"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Run tests
Expand All @@ -26,7 +26,7 @@ jobs:
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
go test -v -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./...
go tool cover -html=coverage.txt -o coverage.html
- if: ${{ matrix.go == '1.21' }}
- if: ${{ matrix.go == '1.22' }}
name: 'Upload Coverage artifact'
uses: actions/upload-artifact@v3
with:
Expand All @@ -38,13 +38,13 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
cache: false
- name: Run lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
version: v1.56
args: --timeout 5m

0 comments on commit 555306c

Please sign in to comment.