mirror of https://github.com/etcd-io/bbolt.git
.github: run coverage in individual job
Signed-off-by: Wei Fu <fuweid89@gmail.com>pull/373/head
parent
99a93a69f2
commit
f8fa3644b5
|
@ -39,6 +39,19 @@ jobs:
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: make coverage
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376 # v3.3.1
|
uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376 # v3.3.1
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
needs: ["test"]
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: "1.17.13"
|
||||||
|
- run: make coverage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue