Skip to content

feat(github): Configure working directory for each run #1

feat(github): Configure working directory for each run

feat(github): Configure working directory for each run #1

Workflow file for this run

name: Terraform
on:
push:
branches:
- main
paths:
- *.tf

Check failure on line 8 in .github/workflows/terraform.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/terraform.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
- *.lock.hcl
pull_request:
paths:
- *.tf
- *.lock.hcl
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
working-directory:
- terraform/web
- terraform/org
defaults:
run:
working-directory: ${matrix.working-directory}
steps:
- run: echo "OK"