goreleaser-action/.github/workflows/test.yml

33 lines
572 B
YAML
Raw Normal View History

2019-09-22 05:17:07 +00:00
name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
2019-09-22 05:17:07 +00:00
on:
push:
branches:
- 'master'
- 'releases/v*'
2020-05-10 14:24:22 +00:00
pull_request:
2019-09-22 05:17:07 +00:00
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
2019-09-22 05:17:07 +00:00
-
name: Test
uses: docker/bake-action@v3
with:
targets: test
2020-05-07 09:47:49 +00:00
-
name: Upload coverage
uses: codecov/codecov-action@v3
2020-05-07 09:47:49 +00:00
with:
file: ./coverage/clover.xml