docs: fix template descriptions (#147); fix drupal-contrib allow-plugins for ddev poser, fixes #147 #143
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: 'Run the build with tmate set "debug_enabled"' | |
| type: boolean | |
| required: false | |
| default: false | |
| jobs: | |
| validate: | |
| name: Validate (${{ matrix.template }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| template: [user-defined-web, drupal-core, freeform] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: hashicorp/setup-terraform@v4 | |
| with: | |
| terraform_version: "~1.9" | |
| - name: Setup tmate session | |
| uses: mxschmitt/action-tmate@v3 | |
| with: | |
| limit-access-to-actor: true | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| 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 tmate session | |
| uses: mxschmitt/action-tmate@v3 | |
| with: | |
| limit-access-to-actor: true | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | |
| - name: Check formatting | |
| run: terraform fmt -check -recursive |