Skip to content

Commit

Permalink
Run golangci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chaspy committed Jan 24, 2021
1 parent 65c4718 commit ee883b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Go

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

Expand All @@ -23,3 +22,9 @@ jobs:

- name: Test
run: go test -v ./...

- name: install lint
run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.35.2

- name: lint
run: golangci-lint run

0 comments on commit ee883b9

Please sign in to comment.