1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-10 00:29:12 +02:00

Update go versions used in workflows (#4480)

This commit is contained in:
bryan-aguilar 2023-09-06 11:06:58 -07:00 committed by GitHub
parent fc70923e53
commit 01d64c3e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ on:
branches:
- main
env:
DEFAULT_GO_VERSION: "1.21"
DEFAULT_GO_VERSION: "~1.21.1"
jobs:
benchmark:
name: Benchmarks

View File

@ -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.21"
DEFAULT_GO_VERSION: "~1.21.1"
jobs:
lint:
runs-on: ubuntu-latest
@ -99,7 +99,7 @@ jobs:
compatibility-test:
strategy:
matrix:
go-version: ["1.21", "1.20", 1.19]
go-version: ["~1.21.1", "~1.20.8", 1.19]
os: [ubuntu-latest, macos-latest, windows-latest]
# GitHub Actions does not support arm* architectures on default
# runners. It is possible to accomplish this with a self-hosted runner

View File

@ -13,7 +13,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@v4
with:
go-version: '^1.21.0'
go-version: '^1.21.1'
- uses: evantorrie/mott-the-tidier@v1-beta
id: modtidy
with: