diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 4592764..b00b7a0 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -12,16 +12,18 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Go + + - name: Setup go uses: actions/setup-go@v5 with: - go-version: 1.21 + 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