Skip to content

Commit

Permalink
ci: check if goreleaser config is valid (#2652)
Browse files Browse the repository at this point in the history
Closes #2452

## Testing

Tested on my fork

```
/opt/hostedtoolcache/goreleaser-action/1.21.2/x64/goreleaser check
  • checking                                 path=
  • 1 configuration file(s) validated
  • thanks for using goreleaser!
```

Ref:
https://github.com/rootulp/celestia-app/actions/runs/6473546638/job/17576484916?pr=39#step:3:16
  • Loading branch information
rootulp authored Oct 13, 2023
1 parent a3311e7 commit 93868b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,16 @@ jobs:
test:
uses: ./.github/workflows/test.yml

goreleaser-check:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: check

# If this was a workflow dispatch event, we need to generate and push a tag
# for goreleaser to grab
version_bump:
Expand Down

0 comments on commit 93868b9

Please sign in to comment.