Skip to content

Commit

Permalink
See if this is faster
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjohnsonjr committed Sep 25, 2023
1 parent 55ea67c commit cd95447
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/mega-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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 <<EOF
provider_installation {
Expand All @@ -91,7 +94,7 @@ jobs:
}
EOF
terraform apply -auto-approve \
opentofu apply -auto-approve \
-target=module.go \
-target=module.jdk \
-target=module.python \
Expand Down

0 comments on commit cd95447

Please sign in to comment.