Add Ubuntu 24.04 and Debian 13 (packaging) / Remove Debian 11 (packaging) #187
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: ["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@v4 | |
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 |