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:
parent
5dff273a1e
commit
78ea001442
2
.github/workflows/benchmark.yml
vendored
2
.github/workflows/benchmark.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
DEFAULT_GO_VERSION: "1.21"
|
||||
DEFAULT_GO_VERSION: "~1.21.3"
|
||||
jobs:
|
||||
benchmark:
|
||||
name: Benchmarks
|
||||
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
2
.github/workflows/create-dependabot-pr.yml
vendored
2
.github/workflows/create-dependabot-pr.yml
vendored
@ -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"
|
||||
|
||||
|
2
.github/workflows/dependabot.yml
vendored
2
.github/workflows/dependabot.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user