Skip to content

Commit

Permalink
chore(ci): add setup-terraform step to upgrade workflows (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan authored Jan 8, 2025
1 parent 4690b71 commit c6acefe
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/upgrade-cdktf.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/upgrade-jsii-typescript.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .github/workflows/upgrade-projen.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions projenrc/upgrade-cdktf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ export class UpgradeCDKTF {
name: "Checkout",
uses: "actions/checkout@v3",
},
{
name: "Setup Terraform",
uses: "hashicorp/setup-terraform",
with: {
terraform_wrapper: false,
},
},
{
name: "Setup Node.js",
uses: "actions/setup-node@v3",
},
{
name: "Install",
run: "yarn install",
Expand Down
7 changes: 7 additions & 0 deletions projenrc/upgrade-jsii-typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ export class UpgradeJSIIAndTypeScript {
name: "Checkout",
uses: "actions/checkout@v3",
},
{
name: "Setup Terraform",
uses: "hashicorp/setup-terraform",
with: {
terraform_wrapper: false,
},
},
{
name: "Setup Node.js",
uses: "actions/setup-node@v3",
Expand Down
7 changes: 7 additions & 0 deletions projenrc/upgrade-projen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ export class UpgradeProjen {
name: "Checkout",
uses: "actions/checkout@v3",
},
{
name: "Setup Terraform",
uses: "hashicorp/setup-terraform",
with: {
terraform_wrapper: false,
},
},
{
name: "Setup Node.js",
uses: "actions/setup-node@v3",
Expand Down

0 comments on commit c6acefe

Please sign in to comment.