Skip to content

Commit

Permalink
Support Go 1.18, phase out Go 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmalkmus committed Mar 16, 2022
1 parent efc8339 commit f54d0bd
Show file tree
Hide file tree
Showing 26 changed files with 10 additions and 30 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
matrix:
go:
- 1.16
- 1.17
- 1.18
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -36,8 +36,8 @@ jobs:
strategy:
matrix:
go:
- 1.16
- 1.17
- 1.18
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -58,8 +58,8 @@ jobs:
- azure-1-staging
- cloud-dev
go:
- 1.16
- 1.17
- 1.18
include:
- deployment: azure-1-staging
axiom_url: TESTING_AZURE_1_STAGING_DEPLOYMENT_URL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
matrix:
go:
- 1.16
- 1.17
- 1.18
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -36,8 +36,8 @@ jobs:
strategy:
matrix:
go:
- 1.16
- 1.17
- 1.18
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -57,8 +57,8 @@ jobs:
- azure-1-staging
- cloud-dev
go:
- 1.16
- 1.17
- 1.18
include:
- deployment: azure-1-staging
axiom_url: TESTING_AZURE_1_STAGING_DEPLOYMENT_URL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server_regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- azure-1-staging
- cloud-dev
go:
- 1.16
- 1.17
- 1.18
include:
- deployment: azure-1-staging
axiom_url: TESTING_AZURE_1_STAGING_DEPLOYMENT_URL
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Axiom Go is a Go client library for accessing the [Axiom](https://www.axiom.co/)
API.

Currently, **Axiom Go requires Go 1.16 or greater**.
Currently, **Axiom Go requires Go 1.17 or greater**.

## Installation

Expand Down
1 change: 0 additions & 1 deletion adapters/apex/apex_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package apex_test

Expand Down
1 change: 0 additions & 1 deletion adapters/logrus/logrus_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package logrus_test

Expand Down
1 change: 0 additions & 1 deletion adapters/testsuite.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package adapters

Expand Down
1 change: 0 additions & 1 deletion adapters/zap/zap_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package zap_test

Expand Down
1 change: 0 additions & 1 deletion axiom/axiom_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
2 changes: 1 addition & 1 deletion axiom/axiom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func TestIsValidToken(t *testing.T) {
}

func TestValidateEnvironment(t *testing.T) {
defer os.Clearenv()
t.Cleanup(os.Clearenv)

tests := []struct {
name string
Expand Down
1 change: 0 additions & 1 deletion axiom/client_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
2 changes: 1 addition & 1 deletion axiom/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func SetStrictDecoding(b bool) Option {
}

func TestNewClient(t *testing.T) {
defer os.Clearenv()
t.Cleanup(os.Clearenv)

tests := []struct {
name string
Expand Down
1 change: 0 additions & 1 deletion axiom/dashboards_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/datasets_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/error_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/monitors_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/notifiers_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/orgs_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/shared_access_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/starred_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/teams_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/tokens_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/users_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/version_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion axiom/vfields_integration_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build integration
// +build integration

package axiom_test

Expand Down
1 change: 0 additions & 1 deletion tools.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build tools
// +build tools

package axiom

Expand Down

0 comments on commit f54d0bd

Please sign in to comment.