Added push workflow #1
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
# SPDX-FileCopyrightText: 2023 Alec Delaney | |
# SPDX-License-Identifier: MIT | |
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 dev dependencies | |
run: | | |
pip install -r requirements-dev.txt | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files |