From 385dd4fd68f5d3fe0cb6d522993e2723085198a0 Mon Sep 17 00:00:00 2001 From: jimafisk Date: Tue, 6 Aug 2024 15:11:18 -0400 Subject: [PATCH] Update gh-actions (#331). --- .github/workflows/release.yml | 10 +++++----- .goreleaser.yml | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) 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