Skip to content

Commit

Permalink
chore: use fork of upgrade-action so we can specify go version (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma authored Oct 21, 2024
1 parent 407639c commit baa8bcc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/upgrade-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
ref: ${{ github.ref_name }}
- name: Call upgrade provider action
if: github.event_name == 'workflow_dispatch'
uses: pulumi/[email protected]
uses: equinix-labs/pulumi-upgrade-provider-action@parameterize-go-version
#TODO: switch back to upstream when it supports configurable go version
#uses: pulumi/[email protected]
with:
kind: bridge
email: [email protected]
Expand All @@ -52,9 +54,12 @@ jobs:
pr-reviewers: ${{ inputs.pr-reviewers }}
pr-description: ${{ inputs.pr-description }}
pr-title-prefix: "feat: "
go-version-file: provider/go.mod
- name: Call upgrade provider action
if: github.event_name == 'repository_dispatch'
uses: pulumi/[email protected]
uses: equinix-labs/pulumi-upgrade-provider-action@parameterize-go-version
#TODO: switch back to upstream when it supports configurable go version
#uses: pulumi/[email protected]
with:
kind: bridge
email: [email protected]
Expand All @@ -63,3 +68,4 @@ jobs:
target-bridge-version: ${{ github.event.client_payload.target-bridge-version }}
pr-reviewers: ${{ github.event.client_payload.pr-reviewers }}
pr-description: ${{ github.event.client_payload.pr-description }}
go-version-file: provider/go.mod
5 changes: 4 additions & 1 deletion .github/workflows/upgrade-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
run: |
echo "version=$(cat .pulumi-java-gen.version)" >> "$GITHUB_OUTPUT"
- name: Call upgrade provider action
uses: pulumi/[email protected]
uses: equinix-labs/pulumi-upgrade-provider-action@parameterize-go-version
#TODO: switch back to upstream when it supports configurable go version
#uses: pulumi/[email protected]
with:
kind: provider
email: [email protected]
username: GitHub
pr-title-prefix: "feat: "
target-java-version: ${{ steps.pulumi-java.outputs.version }}
go-version-file: provider/go.mod
4 changes: 1 addition & 3 deletions go.work
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
go 1.22.0

toolchain go1.22.6
go 1.22.6

use (
./examples
Expand Down
4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/equinix/pulumi-equinix/provider

go 1.22.0
go 1.22.6

toolchain go1.22.3
toolchain go1.22.6

replace (
github.com/equinix/terraform-provider-equinix => ../upstream
Expand Down

0 comments on commit baa8bcc

Please sign in to comment.