Skip to content

Merge pull request #67 from RedAtman/dev #113

Merge pull request #67 from RedAtman/dev

Merge pull request #67 from RedAtman/dev #113

Workflow file for this run

name: Pre Commit
on:
push:
# branches:
# - main
# pull_request:
# branches:
# - main
jobs:
pre-commit:
if: github.event_name == 'push' && !(github.event.pull_request.merged == true)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python-version: 3.8.18
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files