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
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: oldstable
|
go-version: oldstable
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v -tags dev ./...
|
run: go build -v -tags dev ./...
|
||||||
|
@ -26,7 +27,8 @@ jobs:
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
||||||
- name: Update coverage badge
|
- 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:
|
macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -37,6 +39,7 @@ jobs:
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: oldstable
|
go-version: oldstable
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
@ -53,9 +56,10 @@ jobs:
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: oldstable
|
go-version: oldstable
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v -short ./...
|
run: go test -v -short ./...
|
||||||
|
|
Loading…
Reference in a new issue