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

Upgrade the go.mod version to require 1.22 #268

Merged
merged 1 commit into from
Aug 30, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions .github/workflows/stage-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,36 +67,6 @@ jobs:
with:
go-version: ${{ matrix.go-version }}
stable: ${{ matrix.go-stable }}
# We are not testing on languages beyond go right now
# name: Set up Python ${{ inputs.python-version }}
# uses: actions/setup-python@v1
# with:
# python-version: ${{ inputs.python-version }}
# - name: Install Python deps
# run: |
# python -m pip install --upgrade pip requests wheel urllib3 chardet
# - name: Set up DotNet ${{ inputs.dotnet-version }}
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: ${{ inputs.dotnet-version }}
# - name: Set up Node ${{ inputs.node-version }}
# uses: actions/setup-node@v2
# with:
# node-version: ${{ inputs.node-version }}
# - name: Install yarn
# run: |
# npm install -g [email protected]
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# # Skip on dry-run
# if: ${{ inputs.live-test }}
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-region: ${{ env.AWS_REGION }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# role-duration-seconds: 3600
# role-session-name: pulumi-go-provider@githubActions
# role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@v2
- name: Test
Expand All @@ -105,6 +75,6 @@ jobs:
fail-fast: false
matrix:
go-version:
- 1.21.x
- 1.22.x
- 1.23.x
go-stable: [true]
2 changes: 1 addition & 1 deletion examples/credentials/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-go-provider/examples/credentials

replace github.com/pulumi/pulumi-go-provider => ../..

go 1.21
go 1.22

require (
github.com/pulumi/pulumi-go-provider v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion examples/dna-store/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-go-provider/examples/dna-store

replace github.com/pulumi/pulumi-go-provider => ../..

go 1.21
go 1.22

require github.com/pulumi/pulumi-go-provider v0.0.0-00010101000000-000000000000

Expand Down
2 changes: 1 addition & 1 deletion examples/file/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-go-provider/examples/file

replace github.com/pulumi/pulumi-go-provider => ../..

go 1.21
go 1.22

require (
github.com/pulumi/pulumi-go-provider v0.0.0-00010101000000-000000000000
Expand Down
2 changes: 1 addition & 1 deletion examples/random-login/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-go-provider/examples/random-login

replace github.com/pulumi/pulumi-go-provider => ../..

go 1.21
go 1.22

require (
github.com/blang/semver v3.5.1+incompatible
Expand Down
2 changes: 1 addition & 1 deletion examples/str/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pulumi/pulumi-go-provider/examples/str

go 1.21
go 1.22

replace github.com/pulumi/pulumi-go-provider => ../..

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/pulumi/pulumi-go-provider

go 1.21
go 1.22

require (
github.com/blang/semver v3.5.1+incompatible
Expand Down
2 changes: 1 addition & 1 deletion infer/tests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pulumi/pulumi-go-provider/infer/tests

go 1.21
go 1.22

replace github.com/pulumi/pulumi-go-provider => ../..

Expand Down
2 changes: 1 addition & 1 deletion tests/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pulumi/pulumi-go-provider/tests

go 1.21
go 1.22

replace github.com/pulumi/pulumi-go-provider => ../.

Expand Down
Loading