diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index e1eda87a5..943d8b5a1 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -27,7 +27,6 @@ jobs: - name: Setup run: | - brew install goreleaser brew install sqlite3 - name: Install @@ -35,9 +34,14 @@ jobs: go install github.com/k1LoW/tbls@latest tbls version - - name: Release (dry-run) - run: | - goreleaser release --config .goreleaser/darwin.yml --clean --snapshot --skip-publish + - name: Run GoReleaser (dry-run) + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: --config .goreleaser/darwin.yml --clean --snapshot --skip=publish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} linux-release-test: runs-on: ubuntu-latest @@ -66,7 +70,7 @@ jobs: tbls version - name: Run GoReleaser (dry-run) - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest @@ -108,7 +112,7 @@ jobs: tbls version - name: Run GoReleaser (dry-run) - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest diff --git a/.github/workflows/tagpr.yml b/.github/workflows/tagpr.yml index 5c28a2353..2422188a9 100644 --- a/.github/workflows/tagpr.yml +++ b/.github/workflows/tagpr.yml @@ -46,7 +46,7 @@ jobs: brew install sqlite3 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest @@ -89,7 +89,7 @@ jobs: sleep 20s - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest @@ -140,7 +140,7 @@ jobs: shell: bash - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser version: latest diff --git a/.goreleaser/darwin.yml b/.goreleaser/darwin.yml index ee8f98619..c3f0a3041 100644 --- a/.goreleaser/darwin.yml +++ b/.goreleaser/darwin.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod download @@ -34,7 +35,6 @@ checksum: snapshot: name_template: "{{ .Version }}-next" changelog: - skip: true sort: asc filters: exclude: diff --git a/.goreleaser/linux.yml b/.goreleaser/linux.yml index fb8813a13..6df0ce97c 100644 --- a/.goreleaser/linux.yml +++ b/.goreleaser/linux.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod download @@ -42,7 +43,6 @@ checksum: snapshot: name_template: "{{ .Version }}-next" changelog: - skip: true sort: asc filters: exclude: diff --git a/.goreleaser/windows.yml b/.goreleaser/windows.yml index a9a53d579..88fca2d8f 100644 --- a/.goreleaser/windows.yml +++ b/.goreleaser/windows.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod download @@ -37,7 +38,6 @@ checksum: snapshot: name_template: "{{ .Version }}-next" changelog: - skip: true sort: asc filters: exclude: