Skip to content

Commit

Permalink
Fix golangci-lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyjkemp committed Sep 10, 2020
1 parent 0ea60f9 commit 1eefcad
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ jobs:
run: go build -v .

- name: Test
run: go test -v .

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v1.2.1

golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.29

0 comments on commit 1eefcad

Please sign in to comment.