From cd954475f9018b7051a7a672bb5aa03bfe20c281 Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Mon, 25 Sep 2023 14:37:24 -0700 Subject: [PATCH] See if this is faster --- .github/workflows/mega-module.yaml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/mega-module.yaml b/.github/workflows/mega-module.yaml index d935af8..fba209a 100644 --- a/.github/workflows/mega-module.yaml +++ b/.github/workflows/mega-module.yaml @@ -46,9 +46,17 @@ jobs: sudo rm -rf /usr/share/dotnet sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - uses: actions/setup-go@v4 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 with: - go-version: '1.20' + repository: jonjohnsonjr/opentofu + ref: statefile + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v2.1.5 + with: + go-version: '1.21' + check-latest: true + - name: install opentofu + run: | + go install . - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 with: @@ -66,11 +74,6 @@ jobs: repository: chainguard-images/images path: images - - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: '1.3.*' - terraform_wrapper: false - - uses: chainguard-dev/actions/setup-k3d@main with: k3s-image: cgr.dev/chainguard/k3s:latest@sha256:1c6b0d93bb57ec7e54c90077f4baddefc02d9264f5896aedbb4b4f7ae9a3fb5e @@ -81,7 +84,7 @@ jobs: TF_VAR_target_repository: registry.local:5000/tf-apko APKO_IMAGE: ghcr.io/wolfi-dev/apko:latest@sha256:e84ff365ba2ba5bfe896dc2ffd35290fc94530d08883761855b83a2444833114 run: | - terraform init + opentofu init cat > ~/.terraformrc <