From 42471ace4fb0847ed3ae6341bcc71350bcb523fb Mon Sep 17 00:00:00 2001 From: Nils <git@cyclenerd.de> Date: Sun, 16 Jul 2023 13:03:56 +0200 Subject: [PATCH] ci --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 916164a..cf04830 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,4 +17,14 @@ jobs: - name: Validate run: terraform validate - name: Formatting - run: terraform fmt -check \ No newline at end of file + run: terraform fmt -recursive -check -diff -no-color + # https://github.com/marketplace/actions/setup-tflint + - name: Lint + uses: terraform-linters/setup-tflint@v3 + with: + tflint_version: latest + - id: tflint + run: tflint --recursive --format compact + # https://github.com/marketplace/actions/tfsec-action + - name: tfsec + uses: aquasecurity/tfsec-action@v1.0.0 \ No newline at end of file