From 304537c3d1d8167fb4937a7351926e31a58b5045 Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Wed, 18 Sep 2024 13:59:35 +0200 Subject: [PATCH] ci: Upgrade Go & other --- .github/workflows/go.yml | 10 +++++----- .github/workflows/release.yml | 4 ++-- go.mod | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7095eba674..aa8968c41d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - go-version: [1.20.x, 1.21.x, 1.22.x] + go-version: [1.21.x, 1.22.x, 1.23.x] os: [ubuntu-latest, macos-latest, windows-latest] env: CGO_ENABLED: 0 @@ -54,7 +54,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.23.x - name: Checkout code uses: actions/checkout@v4 @@ -76,7 +76,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x - name: Checkout code uses: actions/checkout@v4 @@ -116,7 +116,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x - name: Checkout code uses: actions/checkout@v4 @@ -187,7 +187,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f0169349d3..c1a9ced644 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,12 +21,12 @@ jobs: name: Set up Go uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: - go-version: 1.22.x + go-version: 1.23.x - name: Run GoReleaser uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: - version: 1.24.x + version: 2.3.2 args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/go.mod b/go.mod index e489adfabc..288a795177 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/klauspost/compress -go 1.20 +go 1.21 retract ( // https://github.com/klauspost/compress/pull/503