Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Go 1.18, phase out Go 1.16 #106

Merged
merged 2 commits into from
Mar 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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