From 01f80b7df9eceab1077387d2f3a0beb949152408 Mon Sep 17 00:00:00 2001 From: nvminhtue Date: Thu, 25 Jan 2024 22:06:49 +0700 Subject: [PATCH] [#227] Update the workflow --- .github/workflows/test-generated-project.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-generated-project.yml b/.github/workflows/test-generated-project.yml index 1bf1c201..433eca58 100644 --- a/.github/workflows/test-generated-project.yml +++ b/.github/workflows/test-generated-project.yml @@ -4,8 +4,12 @@ on: pull_request: types: [opened, synchronize] +env: + TERRAFORM_VERSION: "1.5.5" + TFSEC_VERSION: "v1.28.1" + jobs: - test-generated-project: + test: name: Run Tests Generated Project runs-on: ubuntu-latest @@ -42,4 +46,5 @@ jobs: run: terraform fmt -recursive -check - name: Run trivy linter - run: cd aws-advanced-test && trivy config . + working-directory: aws-advanced-test + run: trivy config .