updates to the project docs naming and organization + wrote new project setup instructions for dbt cloud #349
Workflow file for this run
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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
DBT_PROFILES_DIR: ../ci | |
SNOWFLAKE_PRIVATE_KEY: ${{ SECRETS.SNOWFLAKE_PRIVATE_KEY_DEV }} | |
SNOWFLAKE_USER: GITHUB_ACTIONS_SVC_USER_DEV | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: false | |
- name: Setup terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: v1.4.0 | |
- name: Install tflint | |
run: | | |
curl -s https://raw.githubusercontent.com/terraform-linters/\ | |
tflint/master/install_linux.sh | bash | |
- name: Install dependencies | |
run: | | |
poetry install | |
- uses: pre-commit/[email protected] |