From ebee644ec2d4b4b774b4dc0716b578fc2f1a408a Mon Sep 17 00:00:00 2001 From: Dylan Bourque Date: Tue, 28 Nov 2023 13:59:25 -0600 Subject: [PATCH] bump GH actions to use Go 1.21 --- .github/workflows/check-goreleaser.yml | 11 +++++------ .github/workflows/go.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-goreleaser.yml b/.github/workflows/check-goreleaser.yml index 4756d10..a0024e1 100644 --- a/.github/workflows/check-goreleaser.yml +++ b/.github/workflows/check-goreleaser.yml @@ -9,16 +9,15 @@ jobs: goreleaser-check: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - - name: Set up Go + - name: Set up Go uses: actions/setup-go@v4 - - - name: Run 'goreleaser check' + with: + go-version: 1.21 + - name: Run 'goreleaser check' uses: goreleaser/goreleaser-action@v5 with: version: latest diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dad5801..d635af2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - name: lint uses: golangci/golangci-lint-action@v3.7.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14f08b5..829028e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: