[96a5a0]: / .github / workflows / python-app.yml

Download this file

28 lines (21 with data), 567 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Pre-Commit Checks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.13"
- name: Install Dependencies
run: |
python -m venv .venv
source .venv/bin/activate
pip install pre-commit
- name: Run Pre-Commit Hooks
run: |
source .venv/bin/activate
pre-commit run --all-files