chore(deps): update terraform docker to v4.3.0 (#126) #340
This file contains hidden or 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: Lint checks | |
| on: | |
| push: | |
| paths: | |
| - '**.sh' | |
| - '**.yaml' | |
| - '**.yml' | |
| - '**.md' | |
| - '**.tf' | |
| pull_request: | |
| paths: | |
| - '**.sh' | |
| - '**.yaml' | |
| - '**.yml' | |
| - '**.md' | |
| - '**.tf' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install linters | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y shellcheck yamllint | |
| npm install -g markdownlint-cli | |
| - name: Lint shell scripts | |
| run: | | |
| find . -name "*.sh" -exec shellcheck {} + | |
| - name: Lint YAML files | |
| run: | | |
| yamllint . | |
| - name: Lint Markdown files | |
| run: | | |
| markdownlint "**/*.md" | |
| - name: Setup TFLint | |
| uses: terraform-linters/setup-tflint@v6 | |
| - name: Lint Terraform manifests | |
| run: | | |
| tflint --chdir live_system/ | |
| tflint --chdir modules/ |