This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Update dependency projectcalico/calico to v3.31.2 #567
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: Check opentofu syntax | |
| "on": | |
| push: | |
| paths: | |
| - 'terraform/**' | |
| - '.github/workflows/check-opentofu-syntax.yml' | |
| pull_request: | |
| paths: | |
| - 'terraform/**' | |
| - '.github/workflows/check-opentofu-syntax.yml' | |
| jobs: | |
| check-opentofu-syntax: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: create config | |
| run: cp clouds.yaml.sample clouds.yaml | |
| working-directory: ./terraform | |
| - name: create credentials | |
| run: cp secure.yaml.sample secure.yaml | |
| working-directory: ./terraform | |
| - name: Setup OpenTofu | |
| uses: opentofu/setup-opentofu@v1 | |
| with: | |
| tofu_version: 1.6.1 | |
| - name: Tofu init | |
| run: tofu init | |
| working-directory: ./terraform | |
| - name: Tofu validate | |
| run: tofu validate | |
| working-directory: ./terraform | |
| env: | |
| ENVIRONMENT: gx-betacloud | |
| - name: Tofu format | |
| run: tofu fmt -check | |
| working-directory: ./terraform |