From 874d0ce8228d70e803a7cba9db8f28bbb0f45fff Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Fri, 10 May 2024 10:56:18 -0400 Subject: [PATCH] chore: Bump Go version in CI (#6310) --- .github/workflows/ci.yml | 2 +- .github/workflows/cross-build.yml | 2 +- .github/workflows/lint.yml | 7 ++----- .github/workflows/release.yml | 6 +++--- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32da779b..cbd794c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: GO_SEMVER: '~1.21.0' - go: '1.22' - GO_SEMVER: '~1.22.1' + GO_SEMVER: '~1.22.3' # Set some variables per OS, usable via ${{ matrix.VAR }} # OS_LABEL: the VM label from GitHub Actions (see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories) diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml index df67dc83..c54a9a80 100644 --- a/.github/workflows/cross-build.yml +++ b/.github/workflows/cross-build.yml @@ -33,7 +33,7 @@ jobs: # Set the minimum Go patch version for the given Go minor # Usable via ${{ matrix.GO_SEMVER }} - go: '1.22' - GO_SEMVER: '~1.22.1' + GO_SEMVER: '~1.22.3' runs-on: ubuntu-latest continue-on-error: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f9eb9e70..305002eb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '~1.22.1' + go-version: '~1.22.3' check-latest: true - name: golangci-lint @@ -51,9 +51,6 @@ jobs: with: version: v1.55 - # Workaround for https://github.com/golangci/golangci-lint-action/issues/135 - skip-pkg-cache: true - # Windows times out frequently after about 5m50s if we don't set a longer timeout. args: --timeout 10m @@ -66,5 +63,5 @@ jobs: - name: govulncheck uses: golang/govulncheck-action@v1 with: - go-version-input: '~1.22.1' + go-version-input: '~1.22.3' check-latest: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1168662..514237ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,13 +13,13 @@ jobs: os: - ubuntu-latest go: - - '1.21' + - '1.22' include: # Set the minimum Go patch version for the given Go minor # Usable via ${{ matrix.GO_SEMVER }} - - go: '1.21' - GO_SEMVER: '~1.21.0' + - go: '1.22' + GO_SEMVER: '~1.22.3' runs-on: ${{ matrix.os }} # https://github.com/sigstore/cosign/issues/1258#issuecomment-1002251233