From 71a4519d6ccb3b49d0329630ae3db2fc9bdc5b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Wed, 8 May 2024 07:58:39 +0200 Subject: [PATCH] [chore] Bump Go versions to ~1.22.3 and ~1.21.10 in CI (#5529) --- .github/workflows/ci.yml | 4 ++-- .github/workflows/create-dependabot-pr.yml | 2 +- .github/workflows/dependabot.yml | 2 +- tools/go.mod | 2 -- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1804d4c08c6..314dbdebe90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ env: # backwards compatibility with the previous two minor releases and we # explicitly test our code for these versions so keeping this at prior # versions does not add value. - DEFAULT_GO_VERSION: "~1.22.2" + DEFAULT_GO_VERSION: "~1.22.3" jobs: lint: runs-on: ubuntu-latest @@ -91,7 +91,7 @@ jobs: compatibility-test: strategy: matrix: - go-version: ["~1.22.2", "~1.21.9"] + go-version: ["~1.22.3", "~1.21.10"] os: [ubuntu-latest, macos-latest, windows-latest] # GitHub Actions does not support arm* architectures on default # runners. It is possible to acomplish this with a self-hosted runner diff --git a/.github/workflows/create-dependabot-pr.yml b/.github/workflows/create-dependabot-pr.yml index c42c7bd3afc..2be80d535bf 100644 --- a/.github/workflows/create-dependabot-pr.yml +++ b/.github/workflows/create-dependabot-pr.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: "~1.22.2" + go-version: "~1.22.3" check-latest: true cache-dependency-path: "**/go.sum" diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 040898b5758..fe21bd969f0 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -13,7 +13,7 @@ jobs: ref: ${{ github.head_ref }} - uses: actions/setup-go@v5 with: - go-version: "~1.22.2" + go-version: "~1.22.3" check-latest: true cache-dependency-path: "**/go.sum" - uses: evantorrie/mott-the-tidier@v1-beta diff --git a/tools/go.mod b/tools/go.mod index 8dbbac2a741..31d06966b96 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -2,8 +2,6 @@ module go.opentelemetry.io/contrib/tools go 1.22 -toolchain go1.22.2 - exclude github.com/blizzy78/varnamelen v0.6.1 require (