Skip to content

Commit

Permalink
Update github actions, test on two latest go releases
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpherrinm committed Nov 14, 2023
1 parent 1de6c94 commit 653161c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,26 @@ jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
go-version:
- 1.20.x
- 1.21.x
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
- name: go coverage
run: |
go test -mod=readonly -v -race -covermode=atomic -coverprofile=coverage.out ./...
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v3
if: success()
with:
file: ./coverage.out
Expand Down

0 comments on commit 653161c

Please sign in to comment.