chore(deps): update configuration management dependencies #374
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: Static analysis | |
| on: | |
| push: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| jobs: | |
| opentofu_lint: | |
| name: OpenTofu lint | |
| runs-on: ubuntu-24.04 | |
| # Exclude in-repo PRs from running this job | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork | |
| steps: | |
| - name: π₯ Checkout source | |
| uses: actions/checkout@v7 | |
| - name: π§° Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| - name: βοΈ Initialize OpenTofu | |
| run: nix-shell --run 'tofu init' | |
| - name: π OpenTofu files format check | |
| run: nix-shell --run 'tofu fmt -check' | |
| - name: π Validate OpenTofu files | |
| run: nix-shell --run 'tofu validate' | |
| ansible_lint: | |
| name: Ansible lint | |
| runs-on: ubuntu-24.04 | |
| # Exclude in-repo PRs from running this job | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork | |
| steps: | |
| - name: π₯ Checkout source | |
| uses: actions/checkout@v7 | |
| - name: π§° Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| - name: βοΈ Create Ansible Vault password file | |
| env: | |
| ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }} | |
| run: | | |
| mkdir secrets | |
| echo "$ANSIBLE_VAULT_PASSWORD" > secrets/vault_password | |
| - name: π Run ansible-lint | |
| run: nix-shell --run 'ansible-lint .' |