Skip to content

Commit

Permalink
Update templates and workflows to Go 1.20 and deps to latest versions (
Browse files Browse the repository at this point in the history
  • Loading branch information
cnunciato authored Sep 22, 2023
1 parent 540e8dc commit 464393d
Show file tree
Hide file tree
Showing 62 changed files with 96 additions and 97 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macOS-latest, windows-8core-2022]
go-version: [1.18.x]
go-version: [1.20.x]
node-version: [16.x]
python-version: [3.7]
dotnet: [6.0.x]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macOS-latest, windows-8core-2022]
go-version: [1.18.x]
go-version: [1.20.x]
node-version: [16.x]
python-version: [3.7]
dotnet: [6.0.x]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-templates-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macOS-latest, windows-8core-2022]
go-version: [1.18.x]
go-version: [1.20.x]
node-version: [16.x]
python-version: [3.7]
dotnet: [6.0.x]
Expand Down
6 changes: 3 additions & 3 deletions aiven-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aiven/sdk/v5 v6.6.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-aiven/sdk/v6 v6.6.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
6 changes: 3 additions & 3 deletions alicloud-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-alicloud/sdk/v3 v3.43.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-alicloud/sdk/v3 v3.43.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
6 changes: 3 additions & 3 deletions auth0-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-auth0/sdk/v2 v2.23.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-auth0/sdk/v2 v2.24.3
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
6 changes: 3 additions & 3 deletions aws-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aws/sdk/v6 v6.0.2
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-aws/sdk/v6 v6.2.0
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
6 changes: 3 additions & 3 deletions aws-native-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aws-native/sdk v0.73.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-aws-native/sdk v0.77.0
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
6 changes: 3 additions & 3 deletions azure-classic-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-azure/sdk/v5 v5.48.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-azure/sdk/v5 v5.49.0
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
8 changes: 4 additions & 4 deletions azure-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.2.0
github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.2.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-azure-native-sdk/resources/v2 v2.8.0
github.com/pulumi/pulumi-azure-native-sdk/storage/v2 v2.8.0
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
4 changes: 2 additions & 2 deletions civo-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-civo/sdk/v2 v2.3.8
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
2 changes: 1 addition & 1 deletion container-aws-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aws/sdk/v5 v5.30.0
Expand Down
2 changes: 1 addition & 1 deletion container-azure-go/app/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module app

go 1.18
go 1.20
2 changes: 1 addition & 1 deletion container-azure-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-azure-native-sdk/containerinstance/v2 v2.1.1
Expand Down
2 changes: 1 addition & 1 deletion container-gcp-go/app/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module app

go 1.18
go 1.20
2 changes: 1 addition & 1 deletion container-gcp-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-gcp/sdk/v6 v6.59.0
Expand Down
4 changes: 2 additions & 2 deletions digitalocean-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-digitalocean/sdk/v4 v4.21.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
4 changes: 2 additions & 2 deletions equinix-metal-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-equinix-metal/sdk/v3 v3.2.1
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
6 changes: 3 additions & 3 deletions gcp-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-gcp/sdk/v6 v6.62.0
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi-gcp/sdk/v6 v6.66.0
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
4 changes: 2 additions & 2 deletions generator/mod-templates/aiven-template.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aiven/sdk/v5 ${VERSION}
github.com/pulumi/pulumi-aiven/sdk/v6 ${VERSION}
github.com/pulumi/pulumi/sdk/v3 ${PULUMI_VERSION}
)
2 changes: 1 addition & 1 deletion generator/mod-templates/alicloud-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-alicloud/sdk/v3 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/auth0-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-auth0/sdk/v2 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/aws-native-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aws-native/sdk ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/aws-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-aws/sdk/v6 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/azure-classic-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-azure/sdk/v5 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/azure-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-azure-native-sdk/resources/v2 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/civo-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-civo/sdk/v2 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/digitalocean-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-digitalocean/sdk/v4 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/equinix-metal-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-equinix-metal/sdk/v3 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/gcp-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-gcp/sdk/v6 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/github-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-github/sdk/v5 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/go-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi/sdk/v3 ${PULUMI_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/google-native-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-google-native/sdk ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/kubernetes-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-kubernetes/sdk/v4 ${VERSION}
Expand Down
4 changes: 2 additions & 2 deletions generator/mod-templates/linode-template.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-linode/sdk/v3 ${VERSION}
github.com/pulumi/pulumi-linode/sdk/v4 ${VERSION}
github.com/pulumi/pulumi/sdk/v3 ${PULUMI_VERSION}
)
2 changes: 1 addition & 1 deletion generator/mod-templates/oci-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-oci/sdk ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion generator/mod-templates/openstack-template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-openstack/sdk/v3 ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion github-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-github/sdk/v5 v5.3.0
Expand Down
4 changes: 2 additions & 2 deletions go/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
4 changes: 2 additions & 2 deletions google-native-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-google-native/sdk v0.31.1
github.com/pulumi/pulumi/sdk/v3 v3.78.1
github.com/pulumi/pulumi/sdk/v3 v3.84.0
)
4 changes: 2 additions & 2 deletions helm-kubernetes-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi/sdk/v3 v3.75.0
github.com/pulumi/pulumi-kubernetes/sdk/v4 v4.0.3
)
)
2 changes: 1 addition & 1 deletion kubernetes-aws-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-awsx/sdk v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-azure-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ${PROJECT}

go 1.18
go 1.20

require (
github.com/pulumi/pulumi-azure-native-sdk/containerservice/v2 v2.1.1
Expand Down
Loading

0 comments on commit 464393d

Please sign in to comment.