We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c78ffb commit 421fc0aCopy full SHA for 421fc0a
.github/workflows/ci.yml
@@ -9,6 +9,16 @@ permissions:
9
security-events: write
10
jobs:
11
ci:
12
+ steps:
13
+ # Add this step to clear the Terraform cache directory
14
+ - name: Clear Terraform Cache
15
+ run: rm -rf .terraform
16
+ # This ensures the cache directory is deleted before reinitializing Terraform
17
+
18
+ # Add this step to reinitialize Terraform with the -upgrade flag
19
+ - name: Initialize Terraform with upgrade
20
+ run: terraform init -upgrade
21
+ # This step ensures that all modules and providers are upgraded and reinitialized
22
uses: SPHTech-Platform/reusable-workflows/.github/workflows/terraform.yaml@v2
23
with:
24
upload_sarif: true
0 commit comments