Skip to content

Commit 6be116e

Browse files
authored
Add testing support for Go 1.21 (#4463)
* Add testing support for Go 1.21 * Add PR number in changelog
1 parent 69611bd commit 6be116e

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- main
66
env:
7-
DEFAULT_GO_VERSION: "1.20"
7+
DEFAULT_GO_VERSION: "1.21"
88
jobs:
99
benchmark:
1010
name: Benchmarks

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
# backwards compatibility with the previous two minor releases and we
1515
# explicitly test our code for these versions so keeping this at prior
1616
# versions does not add value.
17-
DEFAULT_GO_VERSION: "1.20"
17+
DEFAULT_GO_VERSION: "1.21"
1818
jobs:
1919
lint:
2020
runs-on: ubuntu-latest
@@ -99,7 +99,7 @@ jobs:
9999
compatibility-test:
100100
strategy:
101101
matrix:
102-
go-version: ["1.20", 1.19]
102+
go-version: ["1.21", "1.20", 1.19]
103103
os: [ubuntu-latest, macos-latest, windows-latest]
104104
# GitHub Actions does not support arm* architectures on default
105105
# runners. It is possible to accomplish this with a self-hosted runner

.github/workflows/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
ref: ${{ github.head_ref }}
1414
- uses: actions/setup-go@v4
1515
with:
16-
go-version: '^1.20.0'
16+
go-version: '^1.21.0'
1717
- uses: evantorrie/mott-the-tidier@v1-beta
1818
id: modtidy
1919
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2727
- Move the `Aggregation` interface and its implementations from `go.opentelemetry.io/otel/sdk/metric/aggregation` to `go.opentelemetry.io/otel/sdk/metric`. (#4435)
2828
- The exporters in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` support the `OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION` environment variable. (#4437)
2929
- Add the `NewAllowKeysFilter` and `NewDenyKeysFilter` functions to `go.opentelemetry.io/otel/attribute` to allow convenient creation of allow-keys and deny-keys filters. (#4444)
30+
- Support Go 1.21. (#4463)
3031

3132
### Changed
3233

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,19 @@ Currently, this project supports the following environments.
5353

5454
| OS | Go Version | Architecture |
5555
|---------|------------|--------------|
56+
| Ubuntu | 1.21 | amd64 |
5657
| Ubuntu | 1.20 | amd64 |
5758
| Ubuntu | 1.19 | amd64 |
59+
| Ubuntu | 1.21 | 386 |
5860
| Ubuntu | 1.20 | 386 |
5961
| Ubuntu | 1.19 | 386 |
62+
| MacOS | 1.21 | amd64 |
6063
| MacOS | 1.20 | amd64 |
6164
| MacOS | 1.19 | amd64 |
65+
| Windows | 1.21 | amd64 |
6266
| Windows | 1.20 | amd64 |
6367
| Windows | 1.19 | amd64 |
68+
| Windows | 1.21 | 386 |
6469
| Windows | 1.20 | 386 |
6570
| Windows | 1.19 | 386 |
6671

0 commit comments

Comments
 (0)