Skip to content

Commit

Permalink
github: make sure we install go 1.16 for tests to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlindhe committed Nov 8, 2021
1 parent 2758a5a commit 4fb998c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,30 @@ jobs:
name: Sca
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42
args: -c .golangci.yml

test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16

- name: Test
run: |
go test -race -coverprofile=profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
Expand Down

0 comments on commit 4fb998c

Please sign in to comment.