Runs linters only if on the linux

This commit is contained in:
yuin 2023-08-15 18:53:16 +09:00
parent 9b02182dd0
commit d39ab8f93e

View file

@ -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