diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ef4cdd2e..53c7fa57c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,8 +42,12 @@ jobs: go vet ./... go build ./... make test-packages + - name: Install GoReleaser + if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.22' + uses: goreleaser/goreleaser-action@v5 + with: + install-only: true - name: Gorelease dry-run if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.go-version == '1.22' run: | - go install github.com/goreleaser/goreleaser@latest goreleaser build