Merge pull request #84 from tekktrik/dependabot/pip/pre-commit-approx… #266
This file contains hidden or 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
# SPDX-FileCopyrightText: 2023 Alec Delaney | |
# SPDX-License-Identifier: MIT | |
name: Run push-specific workflows | |
on: | |
push | |
jobs: | |
run-pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Python 3.X | |
uses: actions/setup-python@v5 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install -r requirements-dev.txt | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files |