chore(deps): update peter-evans/create-pull-request action to v8 #84
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: Code checks and tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: hashicorp/setup-terraform@v1 | |
| with: | |
| terraform_version: 0.13.5 | |
| - name: Run Terraform format | |
| id: fmt | |
| run: terraform fmt -check | |
| continue-on-error: true | |
| - name: Run Terraform init | |
| id: init | |
| run: terraform init -backend=false ./tests | |
| - name: Run Terraform validate | |
| id: validate | |
| run: terraform validate ./tests | |
| - name: Run Shellcheck | |
| uses: reviewdog/action-shellcheck@v1 | |
| with: | |
| github_token: ${{ secrets.GH_BOT_TOKEN }} | |
| reporter: github-pr-review | |