diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 76db11ce..6a18e8e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,19 +7,19 @@ on: jobs: goreleaser: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: stable - name: Set up Snapcraft run: | @@ -42,7 +42,7 @@ jobs: git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v1 + uses: goreleaser/goreleaser-action@v6 with: version: latest args: release --clean --verbose diff --git a/.goreleaser.yml b/.goreleaser.yml index 37048dae..b2c8ebbc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,5 @@ # Goreleaser documentation can be found at http://goreleaser.com +version: 2 before: hooks: - go mod download