Skip to content

Commit

Permalink
✨ use go 1.23 (#4622)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev authored Sep 2, 2024
1 parent 9ea78c9 commit 2638643
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 76 deletions.
2 changes: 1 addition & 1 deletion .github/env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang-version=1.22.5
golang-version=1.23.0
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.mondoo.com/cnquery/v11

go 1.22.0

toolchain go1.22.4
go 1.23.0

// Later versions break the build of the os provider for Windows
replace modernc.org/libc => modernc.org/libc v1.53.3
Expand Down
4 changes: 1 addition & 3 deletions providers/ansible/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.mondoo.com/cnquery/v11/providers/ansible

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/stretchr/testify v1.9.0
Expand Down
4 changes: 1 addition & 3 deletions providers/arista/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/arista

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/aristanetworks/goeapi v1.0.0
Expand Down
4 changes: 1 addition & 3 deletions providers/atlassian/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/atlassian

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/ctreminiom/go-atlassian v1.6.1
Expand Down
4 changes: 1 addition & 3 deletions providers/aws/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/aws

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.2
go 1.23.0

require (
github.com/aws/aws-sdk-go-v2 v1.30.4
Expand Down
4 changes: 1 addition & 3 deletions providers/azure/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ replace go.mondoo.com/cnquery/v11 => ../..
// 0.14.0 onwards drops AlertNotifications from SecurityContacts. We need to find a replacement before we can upgrade.
replace github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity => github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/security/armsecurity v0.13.0

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0
Expand Down
4 changes: 1 addition & 3 deletions providers/cloudformation/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.mondoo.com/cnquery/v11/providers/cloudformation

go 1.22.1

toolchain go1.22.4
go 1.23.0

replace go.mondoo.com/cnquery/v11 => ../..

Expand Down
4 changes: 1 addition & 3 deletions providers/equinix/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/equinix

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/packethost/packngo v0.31.0
Expand Down
4 changes: 1 addition & 3 deletions providers/gcp/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/gcp

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
cloud.google.com/go/accessapproval v1.8.0
Expand Down
4 changes: 1 addition & 3 deletions providers/github/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/github

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/bradleyfalzon/ghinstallation/v2 v2.11.0
Expand Down
4 changes: 1 addition & 3 deletions providers/gitlab/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/gitlab

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/rs/zerolog v1.33.0
Expand Down
4 changes: 1 addition & 3 deletions providers/google-workspace/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/google-workspace

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/hashicorp/go-cleanhttp v0.5.2
Expand Down
4 changes: 1 addition & 3 deletions providers/ipmi/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/ipmi

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/rs/zerolog v1.33.0
Expand Down
4 changes: 1 addition & 3 deletions providers/k8s/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ replace k8s.io/apimachinery => k8s.io/apimachinery v0.28.9

replace k8s.io/client-go => k8s.io/client-go v0.28.9

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/cockroachdb/errors v1.11.3
Expand Down
4 changes: 1 addition & 3 deletions providers/mondoo/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/mondoo

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.3
go 1.23.0

require (
github.com/stretchr/testify v1.9.0
Expand Down
4 changes: 1 addition & 3 deletions providers/ms365/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/ms365

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0
Expand Down
4 changes: 1 addition & 3 deletions providers/oci/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.mondoo.com/cnquery/v11/providers/oci

go 1.22.0

toolchain go1.22.4
go 1.23.0

replace go.mondoo.com/cnquery/v11 => ../..

Expand Down
4 changes: 1 addition & 3 deletions providers/okta/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/okta

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/okta/okta-sdk-golang/v2 v2.20.0
Expand Down
4 changes: 1 addition & 3 deletions providers/opcua/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/opcua

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/gopcua/opcua v0.5.3
Expand Down
4 changes: 1 addition & 3 deletions providers/shodan/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.mondoo.com/cnquery/v11/providers/shodan

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/rs/zerolog v1.33.0
Expand Down
4 changes: 1 addition & 3 deletions providers/slack/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/slack

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/hashicorp/go-retryablehttp v0.7.7
Expand Down
4 changes: 1 addition & 3 deletions providers/snowflake/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module go.mondoo.com/cnquery/v11/providers/snowflake

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/Snowflake-Labs/terraform-provider-snowflake v0.92.0
Expand Down
4 changes: 1 addition & 3 deletions providers/terraform/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/terraform

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/hashicorp/hcl/v2 v2.22.0
Expand Down
4 changes: 1 addition & 3 deletions providers/vcd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/vcd

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/rs/zerolog v1.33.0
Expand Down
4 changes: 1 addition & 3 deletions providers/vsphere/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module go.mondoo.com/cnquery/v11/providers/vsphere

replace go.mondoo.com/cnquery/v11 => ../..

go 1.22.0

toolchain go1.22.4
go 1.23.0

require (
github.com/facebookincubator/nvdtools v0.1.5
Expand Down

0 comments on commit 2638643

Please sign in to comment.