mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Runs linters only if on the linux
This commit is contained in:
parent
9b02182dd0
commit
d39ab8f93e
1 changed files with 1 additions and 0 deletions
1
.github/workflows/test.yaml
vendored
1
.github/workflows/test.yaml
vendored
|
|
@ -19,6 +19,7 @@ jobs:
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v3
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
|
if: "matrix.platform == 'ubuntu-latest'" # gofmt linter fails on Windows for CRLF problems
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=./...
|
run: go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=./...
|
||||||
- name: Send coverage
|
- name: Send coverage
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue