diff --git a/.github/workflows/test-generated-project.yml b/.github/workflows/test-generated-project.yml index 194c004b..b991fbdf 100644 --- a/.github/workflows/test-generated-project.yml +++ b/.github/workflows/test-generated-project.yml @@ -4,8 +4,8 @@ on: pull_request: types: [opened, synchronize] -env: - TERRAFORM_VERSION: "1.5.5" +# env: +# TERRAFORM_VERSION: "1.5.5" jobs: test-generated-project: @@ -39,18 +39,11 @@ jobs: - name: Generate project run: . ./scripts/generateAdvancedAWS.sh - - name: Install Terraform - uses: hashicorp/setup-terraform@v2 - with: - terraform_version: ${{ env.TERRAFORM_VERSION }} + - name: Install dependencies in .tool-versions + uses: asdf-vm/actions/install@v2 - name: Run Terraform format run: terraform fmt -recursive -check - name: Run trivy linter - uses: aquasecurity/trivy-action@0.16.1 - with: - scan-type: 'fs' - scan-ref: '.' - hide-progress: false - # trivy-config: trivy.yaml + run: trivy config .