Skip to content

chore: Added pre-commit config and applied terraform formatting #1

chore: Added pre-commit config and applied terraform formatting

chore: Added pre-commit config and applied terraform formatting #1

Workflow file for this run

name: pre-commit
on:
- pull_request
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- run: python -m pip install pre-commit
shell: bash
- run: python -m pip freeze --local
shell: bash
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pre-commit run --show-diff-on-failure --color=always --all-files
shell: bash