Skip to content

Commit

Permalink
upgrade to go v1.22.6 (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
colelaven authored Aug 29, 2024
1 parent 070926e commit 3b50115
Show file tree
Hide file tree
Showing 44 changed files with 52 additions and 54 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
- name: Cache Tools
id: tool-cache
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
- name: Cache Tools
id: tool-cache
Expand All @@ -80,7 +80,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
- name: Cache Tools
id: tool-cache
Expand All @@ -104,7 +104,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
- name: Cache Tools
id: tool-cache
Expand All @@ -128,7 +128,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
- name: Cache Tools
id: tool-cache
Expand All @@ -151,7 +151,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
- name: Plugin Doc Generation
run: make create-plugin-docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multi_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
cache-dependency-path: |
go.sum
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
cache-dependency-path: |
go.sum
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
check-latest: true
cache-dependency-path: "**/go.sum"
- name: Set up Docker Buildx
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ test-with-cover:
$(MAKE) for-all CMD="go test -coverprofile=cover.out ./..."
$(MAKE) for-all CMD="go tool cover -html=cover.out -o cover.html"

.PHONY: test-updater-integration
.PHONY: test-updater-integration
test-updater-integration:
cd updater; go test $(INTEGRATION_TEST_ARGS) -race ./...

Expand All @@ -141,7 +141,7 @@ fmt:

.PHONY: tidy
tidy:
$(MAKE) for-all CMD="go mod tidy -compat=1.21"
$(MAKE) for-all CMD="go mod tidy -compat=1.22"

.PHONY: gosec
gosec:
Expand Down Expand Up @@ -247,7 +247,7 @@ release:
@if ! [[ "$(version)" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$$ ]]; then \
echo "version $(version) is invalid semver"; \
exit 1; \
fi
fi

@git tag $(version)
@git push --tags
Expand Down
2 changes: 1 addition & 1 deletion cmd/plugindocgen/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/plugindocgen

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/receiver/pluginreceiver v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion counter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/counter

go 1.21.9
go 1.22.6

require github.com/stretchr/testify v1.9.0

Expand Down
2 changes: 1 addition & 1 deletion exporter/azureblobexporter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/exporter/azureblobexporter

go 1.21.9
go 1.22.6

require (
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.0
Expand Down
2 changes: 1 addition & 1 deletion exporter/chronicleexporter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/exporter/chronicleexporter

go 1.21.9
go 1.22.6

require (
github.com/golang/mock v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion exporter/chronicleforwarderexporter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/exporter/chronicleforwarderexporter

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/expr v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion exporter/googlecloudexporter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/exporter/googlecloudexporter

go 1.21.9
go 1.22.6

require (
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/collector v0.48.1
Expand Down
2 changes: 1 addition & 1 deletion exporter/googlemanagedprometheusexporter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/exporter/googlemanagedprometheusexporter

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/googlemanagedprometheusexporter v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion exporter/snowflakeexporter/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/exporter/snowflakeexporter

go 1.21.9
go 1.22.6

require (
github.com/DATA-DOG/go-sqlmock v1.5.2
Expand Down
2 changes: 1 addition & 1 deletion expr/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/expr

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion extension/bindplaneextension/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/extension/bindplaneextension

go 1.21.9
go 1.22.6

require (
github.com/golang/snappy v0.0.4
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent

go 1.21.9
go 1.22.6

require (
github.com/google/uuid v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion internal/measurements/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/internal/measurements

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion internal/rehydration/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/internal/rehydration

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/internal/testutils v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion internal/report/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/internal/report

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion internal/testutils/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/internal/testutils

go 1.21.9
go 1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
4 changes: 1 addition & 3 deletions internal/tools/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/observiq/bindplane-agent/internal/tools

go 1.22

toolchain go1.22.4
go 1.22.6

require (
github.com/client9/misspell v0.3.4
Expand Down
2 changes: 1 addition & 1 deletion packagestate/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/packagestate

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opamp-go v0.9.0
Expand Down
2 changes: 1 addition & 1 deletion processor/datapointcountprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/datapointcountprocessor

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/counter v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion processor/logcountprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/logcountprocessor

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/counter v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion processor/logdeduplicationprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/logdeduplicationprocessor

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion processor/lookupprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/lookupprocessor

go 1.21.9
go 1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion processor/maskprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/maskprocessor

go 1.21.9
go 1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion processor/metricextractprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/metricextractprocessor

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/expr v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion processor/metricstatsprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/metricstatsprocessor

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion processor/removeemptyvaluesprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/removeemptyvaluesprocessor

go 1.21.9
go 1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion processor/resourceattributetransposerprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/resourceattributetransposerprocessor

go 1.21.9
go 1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion processor/samplingprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/samplingprocessor

go 1.21.9
go 1.22.6

require (
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 1 addition & 1 deletion processor/snapshotprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/snapshotprocessor

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/internal/report v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion processor/spancountprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/spancountprocessor

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/counter v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion processor/throughputmeasurementprocessor/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/processor/throughputmeasurementprocessor

go 1.21.9
go 1.22.6

require (
github.com/observiq/bindplane-agent/internal/measurements v1.59.0
Expand Down
2 changes: 1 addition & 1 deletion receiver/awss3rehydrationreceiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/receiver/awss3rehydrationreceiver

go 1.21.9
go 1.22.6

require (
github.com/aws/aws-sdk-go-v2 v1.26.1
Expand Down
2 changes: 1 addition & 1 deletion receiver/azureblobrehydrationreceiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/receiver/azureblobrehydrationreceiver

go 1.21.9
go 1.22.6

require (
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.0
Expand Down
2 changes: 1 addition & 1 deletion receiver/httpreceiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/receiver/httpreceiver

go 1.21.9
go 1.22.6

require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.107.0
Expand Down
2 changes: 1 addition & 1 deletion receiver/m365receiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/receiver/m365receiver

go 1.21.9
go 1.22.6

require (
github.com/google/go-cmp v0.6.0
Expand Down
2 changes: 1 addition & 1 deletion receiver/oktareceiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/receiver/oktareceiver

go 1.21.9
go 1.22.6

require (
github.com/okta/okta-sdk-golang/v2 v2.20.0
Expand Down
2 changes: 1 addition & 1 deletion receiver/pluginreceiver/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/observiq/bindplane-agent/receiver/pluginreceiver

go 1.21.9
go 1.22.6

require (
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c
Expand Down
Loading

0 comments on commit 3b50115

Please sign in to comment.