1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-28 08:38:51 +02:00

[chore] Use tilde range to specify Go version (#4643)

This commit is contained in:
Robert Pająk 2023-10-18 08:14:16 +02:00 committed by GitHub
parent 5dff273a1e
commit 78ea001442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ on:
workflow_dispatch:
env:
DEFAULT_GO_VERSION: "1.21"
DEFAULT_GO_VERSION: "~1.21.3"
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.3"
jobs:
lint:
runs-on: ubuntu-latest
@ -106,7 +106,7 @@ jobs:
compatibility-test:
strategy:
matrix:
go-version: ["1.21", "1.20"]
go-version: ["~1.21.3", "~1.20.10"]
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

@ -10,7 +10,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version: "~1.21.3"
check-latest: true
cache-dependency-path: "**/go.sum"

View File

@ -13,7 +13,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@v4
with:
go-version: "1.21"
go-version: "~1.21.3"
check-latest: true
cache-dependency-path: "**/go.sum"
- uses: evantorrie/mott-the-tidier@v1-beta