mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-16 23:50:33 +00:00
* fix: use @action/github Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com> Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> * Update README.md Co-authored-by: CrazyMax <github@crazymax.dev> * Update action.yml Co-authored-by: CrazyMax <github@crazymax.dev> --------- Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com> Co-authored-by: CrazyMax <github@crazymax.dev>
38 lines
708 B
YAML
38 lines
708 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'releases/v*'
|
|
pull_request:
|
|
branches:
|
|
- 'master'
|
|
- 'releases/v*'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
-
|
|
name: Validate
|
|
uses: docker/bake-action@v2
|
|
with:
|
|
targets: validate
|
|
-
|
|
name: Test
|
|
uses: docker/bake-action@v2
|
|
with:
|
|
targets: test
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
-
|
|
name: Upload coverage
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
file: ./coverage/clover.xml
|