diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15085e9a..c5438bbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,10 +89,30 @@ jobs: - name: Ensure generated documentation is up to date run: mv docs docs-current && make docs && diff -rN docs-current docs + goreleaser-config: + name: Goreleaser Config + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version-file: "go.mod" + - name: goreleaser + uses: goreleaser/goreleaser-action@v6 + with: + version: "~> v2" + args: check + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + release-please: name: Release Please runs-on: ubuntu-latest - needs: [lint, lint-provider, tidy, test, docs] + needs: [lint, lint-provider, tidy, test, docs, goreleaser-config] if: github.ref == 'refs/heads/main' outputs: release_created: ${{ steps.release-please.outputs.release_created }}