remove api on again #1469
This file contains 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: Terraform CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
matrixify: | |
name: Matrixify | |
outputs: | |
matrix: ${{ steps.search.outputs.matrix }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Changed Terraform directories | |
id: search | |
uses: mozilla/tf-actions/matrixify@main | |
with: | |
ignore_dir: "**/example**" | |
- name: Outputs | |
run: echo "${{ steps.search.outputs.matrix }}" | |
terraform-ci: | |
name: Terraform CI on "${{ matrix.directory }}" | |
if: ${{ fromJSON(needs.matrixify.outputs.matrix).include[0] }} | |
needs: matrixify | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: ${{fromJson(needs.matrixify.outputs.matrix)}} | |
steps: | |
- id: terraform-checks | |
name: Terraform Checks | |
uses: mozilla/tf-actions/ci@v0.0.4 | |
with: | |
readme_check: "true" | |
tfpath: ${{ matrix.directory }} |