This commit is contained in:
Justin Hammond 2021-09-22 00:09:49 +08:00
commit 538f0495a3
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ jobs:
strategy:
matrix:
go-version: [ 1.16.x, 1.15.x, 1.14.x, 1.13.x ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
platform: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
@ -16,6 +16,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v1
- name: Run tests
run: go test -v -race -covermode=atomic -coverprofile=coverage.out
run: go test -v -race -covermode=atomic -coverprofile=coverage
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)

View file

@ -9,8 +9,8 @@ jobs:
uses: actions/checkout@v1
- name: GolangCI-Lint Action
uses: matoous/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v2.5.2
with:
config: .golangci.yml
version: latest
only-new-issues: true
args: --issues-exit-code=0