diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 788c175..6700df2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,3 +63,21 @@ jobs: with: name: testdata-windows path: testdata + + goreleaser_check: + runs-on: ubuntu-latest + name: GoReleaser Check + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version: '1.24' + - name: Run GoReleaser in snapshot mode + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: --snapshot --skip=publish --clean