generated from aws-ia/terraform-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update CI configs to match other projects, remove unused files…
… (release files)
- Loading branch information
1 parent
4359c36
commit b246b25
Showing
9 changed files
with
36 additions
and
114 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,10 @@ on: | |
- '**.yml' | ||
- '**.yaml' | ||
|
||
permissions: read-all | ||
|
||
env: | ||
TERRAFORM_DOCS_VERSION: v0.16.0 | ||
TFSEC_VERSION: v1.22.0 | ||
TF_PLUGIN_CACHE_DIR: ${{ github.workspace }}/.terraform.d/plugin-cache | ||
TFLINT_VERSION: v0.50.3 | ||
|
||
concurrency: | ||
|
@@ -57,18 +57,6 @@ jobs: | |
src: | ||
- '${{ matrix.directory }}/*.tf' | ||
- name: Config Terraform plugin cache | ||
if: steps.changes.outputs.src== 'true' | ||
run: mkdir --parents ${{ env.TERRAFORM_DOCS_VERSION }} | ||
|
||
- name: Cache Terraform | ||
uses: actions/cache@v3 | ||
if: steps.changes.outputs.src== 'true' | ||
with: | ||
path: ${{ env.TERRAFORM_DOCS_VERSION }} | ||
key: ${{ runner.os }}-terraform-${{ hashFiles('**/.terraform.lock.hcl') }} | ||
restore-keys: ${{ runner.os }}-terraform- | ||
|
||
- name: Terraform min/max versions | ||
uses: clowdhaus/[email protected] | ||
if: steps.changes.outputs.src== 'true' | ||
|
@@ -110,22 +98,6 @@ jobs: | |
src: | ||
- '**/*.tf' | ||
- name: Config Terraform plugin cache | ||
if: steps.changes.outputs.src== 'true' | ||
run: mkdir --parents ${{ env.TERRAFORM_DOCS_VERSION }} | ||
|
||
- name: Cache Terraform | ||
uses: actions/cache@v3 | ||
if: steps.changes.outputs.src== 'true' | ||
with: | ||
path: ${{ env.TF_PLUGIN_CACHE_DIR }} | ||
key: ${{ runner.os }}-terraform-${{ hashFiles('**/.terraform.lock.hcl') }} | ||
restore-keys: ${{ runner.os }}-terraform- | ||
|
||
- name: Install tfsec | ||
if: steps.changes.outputs.src== 'true' | ||
run: curl -sSLo ./tfsec https://github.com/aquasecurity/tfsec/releases/download/${{ env.TFSEC_VERSION }}/tfsec-$(uname)-amd64 && chmod +x tfsec && sudo mv tfsec /usr/bin/ | ||
|
||
- name: Terraform min/max versions | ||
id: minMax | ||
uses: clowdhaus/[email protected] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.