Skip to content

Commit

Permalink
chore: bump actions for tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
minchao committed Apr 27, 2024
1 parent 0aeb60b commit 8079739
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,23 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: v1.42
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v5
test:
strategy:
matrix:
go-version:
- 1.x
- 1.15.x
- 1.16.x
- 1.22.x
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: make test
- uses: codecov/codecov-action@v2
if: matrix.go-version == '1.16.x'
if: matrix.go-version == '1.22.x'
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8079739

Please sign in to comment.