|
|
@ -8,7 +8,7 @@ jobs: |
|
|
|
test: |
|
|
|
test: |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
go-version: [1.15.x, 1.16.x] |
|
|
|
go-version: [1.17.x, 1.18.x] |
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest] |
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest] |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
steps: |
|
|
|
steps: |
|
|
@ -32,7 +32,7 @@ jobs: |
|
|
|
run: go test -race -covermode=atomic -coverprofile="profile.cov" ./... |
|
|
|
run: go test -race -covermode=atomic -coverprofile="profile.cov" ./... |
|
|
|
|
|
|
|
|
|
|
|
- name: Send Coverage |
|
|
|
- name: Send Coverage |
|
|
|
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.16.x' |
|
|
|
if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.18.x' |
|
|
|
uses: shogo82148/actions-goveralls@v1 |
|
|
|
uses: shogo82148/actions-goveralls@v1 |
|
|
|
with: |
|
|
|
with: |
|
|
|
path-to-profile: profile.cov |
|
|
|
path-to-profile: profile.cov |
|
|
@ -45,4 +45,4 @@ jobs: |
|
|
|
- name: golangci-lint |
|
|
|
- name: golangci-lint |
|
|
|
uses: golangci/golangci-lint-action@v2 |
|
|
|
uses: golangci/golangci-lint-action@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
version: v1.41.1 |
|
|
|
version: v1.45.2 |
|
|
|