diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 09e330e766..4e5e3db856 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -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: