Skip to content

Commit

Permalink
ci: add goreleaser-check as a require step for the goreleaser build (…
Browse files Browse the repository at this point in the history
…backport #2772) (#2775)

This is an automatic backport of pull request #2772 done by
[Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the
[documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on
`<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com) you
can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>

---------

Co-authored-by: Matthew Sevey <[email protected]>
Co-authored-by: Rootul Patel <[email protected]>
  • Loading branch information
3 people authored Oct 31, 2023
1 parent f6ac0cd commit 46128a8
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,20 @@ 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:
needs: [lint, test]
needs: [lint, test, goreleaser-check]
runs-on: ubuntu-latest
permissions: "write-all"
steps:
Expand Down

0 comments on commit 46128a8

Please sign in to comment.