Skip to content

Catch errors while provisioning #300

Catch errors while provisioning

Catch errors while provisioning #300

Workflow file for this run

name: Pre-Commit
on: ["push", "pull_request"]
jobs:
Pre-Commit:
name: Run Pre-Commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-actionlint
with:
cache-seed: ${{ hashFiles('.github/**', 'tools/**') }}
- uses: ./.github/actions/setup-shellcheck
with:
cache-seed: ${{ hashFiles('.github/**', 'tools/**') }}
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install Pre-Commit
env:
PIP_EXTRA_INDEX_URL: https://pypi-proxy.saltstack.net/root/local/+simple/
run: |
python -m pip install --upgrade pip
pip install pre-commit
pre-commit install --install-hooks
- name: Check ALL Files
run: |
pre-commit run --show-diff-on-failure --color=always --all-files