fix: improve lint messages output #239
Workflow file for this run
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
name: Entur/Terraform/CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test-lint-ok: | |
name: Test Lint | |
uses: ./.github/workflows/lint.yml | |
with: | |
directory: fixture/terraform | |
version: 1.8.3 | |
test-lint-ok-failed-test: | |
name: Test Lint fail - test | |
uses: ./.github/workflows/lint.yml | |
with: | |
directory: fixture/terraform_with_failed_plan | |
version: 1.8.3 | |
test-terraform-plan: | |
name: Test Terraform Plan | |
uses: ./.github/workflows/plan.yml | |
with: | |
directory: fixture/terraform | |
version: 1.8.3 | |
environment: dev | |
secrets: inherit | |
test-terraform-apply: | |
name: Test Terraform Apply | |
uses: ./.github/workflows/apply.yml | |
needs: test-terraform-plan | |
with: | |
directory: fixture/terraform | |
version: 1.8.3 | |
environment: dev | |
secrets: inherit | |
test-terraform-plan-changes: | |
needs: test-terraform-apply | |
name: Test Terraform Plan with Changes | |
uses: ./.github/workflows/plan.yml | |
with: | |
directory: fixture/terraform_with_changes | |
version: 1.8.3 | |
environment: dev | |
secrets: inherit | |
update-lint-doc: | |
name: Update Lint Documentation | |
needs: test-terraform-plan-changes | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: entur/gha-meta/.github/workflows/auto-doc.yml@v1 | |
with: | |
workflow_file: .github/workflows/lint.yml | |
readme_file: README-lint.md | |
update-plan-doc: | |
name: Update Plan Documentation | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: entur/gha-meta/.github/workflows/auto-doc.yml@v1 | |
needs: [update-lint-doc] | |
with: | |
workflow_file: .github/workflows/plan.yml | |
readme_file: README-plan.md | |
update-apply-doc: | |
name: Update Apply Documentation | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: entur/gha-meta/.github/workflows/auto-doc.yml@v1 | |
needs: [update-plan-doc, test-terraform-plan] | |
with: | |
workflow_file: .github/workflows/apply.yml | |
readme_file: README-apply.md |