Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Updating go.lang version and tool dependancies.
  • Loading branch information
ChrisPates committed May 30, 2022
1 parent 7c68fcd commit 496f55e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: '1.16.x'
go-version: '1.17.x'

- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Run staticcheck
run: staticcheck ./...

- name: Run Static Checks
run: go get honnef.co/go/tools/cmd/staticcheck && go install honnef.co/go/tools/cmd/staticcheck && staticcheck ./...

- name: Run Tests
run: go test -p 1 -cover -race -v ./...

Expand All @@ -37,7 +40,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16.x'
go-version: '1.17.x'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down

0 comments on commit 496f55e

Please sign in to comment.