1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-07 23:02:15 +02:00

Build on newly released version of go, go 1.15 (#1064)

* Build on newly release version of go, go 1.15

Remove 1.13 build job per policy of supporting past two releases.

* String conversions in 1.15 require byte, rune or string.

Simply passing an integer now issues a warning.
This commit is contained in:
ET 2020-08-16 20:04:53 -07:00 committed by GitHub
parent 45b6a22cbb
commit 62d603f1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -3,11 +3,11 @@ executors:
current-go:
resource_class: large
docker:
- image: cimg/go:1.14
- image: cimg/go:1.15
prior-go:
resource_class: large
docker:
- image: cimg/go:1.13
- image: cimg/go:1.14
build-template: &build-template
environment:

View File

@ -24,7 +24,7 @@ import (
)
func TestExportKindIdentity(t *testing.T) {
akind := aggregation.Kind(0)
akind := aggregation.Kind("Noop")
require.Equal(t, CumulativeExporter, CumulativeExporter.ExportKindFor(nil, akind))
require.Equal(t, DeltaExporter, DeltaExporter.ExportKindFor(nil, akind))