Skip to content

Commit

Permalink
adds a new gh-action to run precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
etchegom committed Dec 12, 2023
1 parent 8396747 commit 50074bf
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
pull_request:
push:
branches:
- master

jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.10.8

- name: Setup Pre-commit
uses: pre-commit/[email protected]

- uses: pre-commit-ci/[email protected]
if: always()

0 comments on commit 50074bf

Please sign in to comment.