mirror of
https://github.com/Fishwaldo/validator.git
synced 2025-03-15 11:41:32 +00:00
update ci config
This commit is contained in:
parent
c0195b2b40
commit
bb30072b48
1 changed files with 3 additions and 3 deletions
6
.github/workflows/workflow.yml
vendored
6
.github/workflows/workflow.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
|||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.15.x, 1.16.x]
|
||||
go-version: [1.17.x, 1.18.x]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
run: go test -race -covermode=atomic -coverprofile="profile.cov" ./...
|
||||
|
||||
- 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
|
||||
with:
|
||||
path-to-profile: profile.cov
|
||||
|
@ -45,4 +45,4 @@ jobs:
|
|||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.41.1
|
||||
version: v1.45.2
|
||||
|
|
Loading…
Add table
Reference in a new issue