Use cookiecutter hook and tfvar validation to limit service account c… #21
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
--- | |
# note: this workflow definition will create a project from | |
# the cookiecutter template to test the results through dagger | |
name: run tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
env: | |
DAGGER_CACHE_FROM: type=gha,scope=gc-cloud-storage-bucket | |
DAGGER_CACHE_TO: type=gha,mode=max,scope=gc-cloud-storage-bucket | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Dagger | |
uses: dagger/dagger-for-github@v4 | |
with: | |
cmds: | | |
project update | |
do test |