Skip to content

Commit

Permalink
Create linters.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuffy2 committed Dec 15, 2024
1 parent de647ea commit a40f1d6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Linters

on:
pull_request:
push:
branches: [main]
workflow_dispatch:

jobs:
linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install requirements
run: pip install -r requirements.txt
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
- name: Run pre-commit.ci
uses: pre-commit-ci/lite-action@v1.1.0
if: always()

0 comments on commit a40f1d6

Please sign in to comment.