Skip to content

Commit

Permalink
Runs linters only if on the linux
Browse files Browse the repository at this point in the history
  • Loading branch information
yuin committed Aug 15, 2023
1 parent 9b02182 commit d39ab8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: latest
if: "matrix.platform == 'ubuntu-latest'" # gofmt linter fails on Windows for CRLF problems
- name: Run tests
run: go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=./...
- name: Send coverage
Expand Down

0 comments on commit d39ab8f

Please sign in to comment.