diff --git a/.github/workflows/.goreleaser.yml b/.github/workflows/.goreleaser.yml index dbb67b01..f95140f2 100644 --- a/.github/workflows/.goreleaser.yml +++ b/.github/workflows/.goreleaser.yml @@ -8,13 +8,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + with: + # we have to fetch all history to be able to generate the release note. c.f. https://goreleaser.com/ci/actions/. + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v4 with: go-version-file: 'go.mod' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v4 with: distribution: goreleaser version: 1.17.1