Update go.yml
This commit is contained in:
parent
7c0045f876
commit
1427f50bb4
1 changed files with 6 additions and 2 deletions
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
|
@ -18,6 +18,7 @@ jobs:
|
|||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: oldstable
|
||||
cache: true
|
||||
|
||||
- name: Build
|
||||
run: go build -v -tags dev ./...
|
||||
|
@ -26,7 +27,8 @@ jobs:
|
|||
run: go test -v ./...
|
||||
|
||||
- name: Update coverage badge
|
||||
uses: ncruces/go-coverage-report@v0.1.0
|
||||
uses: ncruces/go-coverage-report@v0.1.2
|
||||
continue-on-error: true
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
|
@ -37,6 +39,7 @@ jobs:
|
|||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: oldstable
|
||||
cache: true
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
@ -53,9 +56,10 @@ jobs:
|
|||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: oldstable
|
||||
cache: true
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -v -short ./...
|
||||
run: go test -v -short ./...
|
||||
|
|
Loading…
Reference in a new issue