Repository navigation
fix(runner): run claude-runner-sweep on macOS, keep rescues findable #369
Workflow file for this run
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: Validate Templates | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| debug_enabled: | |
| description: Enable remote debugging session | |
| type: boolean | |
| required: false | |
| default: false | |
| jobs: | |
| validate: | |
| name: Validate (${{ matrix.template }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| template: [drupal-core, drupal-contrib, freeform] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: hashicorp/setup-terraform@v4 | |
| with: | |
| terraform_version: "~1.9" | |
| - name: Setup upterm session | |
| uses: owenthereal/action-upterm@v1 | |
| with: | |
| limit-access-to-actor: true | |
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
| - name: Init | |
| run: terraform init -backend=false -input=false | |
| working-directory: ${{ matrix.template }} | |
| - name: Validate | |
| run: terraform validate | |
| working-directory: ${{ matrix.template }} | |
| - name: Test | |
| run: terraform test | |
| working-directory: ${{ matrix.template }} | |
| fmt: | |
| name: Format Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: hashicorp/setup-terraform@v4 | |
| with: | |
| terraform_version: "~1.9" | |
| - name: Setup upterm session | |
| uses: owenthereal/action-upterm@v1 | |
| with: | |
| limit-access-to-actor: true | |
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
| - name: Check formatting | |
| run: terraform fmt -check -recursive |