Skip to content

Commit d39ab8f

Browse files
committed
Runs linters only if on the linux
1 parent 9b02182 commit d39ab8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
uses: golangci/golangci-lint-action@v3
2020
with:
2121
version: latest
22+
if: "matrix.platform == 'ubuntu-latest'" # gofmt linter fails on Windows for CRLF problems
2223
- name: Run tests
2324
run: go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=./...
2425
- name: Send coverage

0 commit comments

Comments
 (0)