Update go.yml

This commit is contained in:
Nuno Cruces 2023-02-07 19:10:49 +00:00 committed by GitHub
parent 7c0045f876
commit 1427f50bb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ./...