diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index c776b74..b00b7a0 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -14,14 +14,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup go uses: actions/setup-go@v5 with: - go-version-file: "go.mod" - + go-version-file: go.mod + check-latest: true - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser