Skip to content

Commit

Permalink
Add GitHub action to automate linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed Jun 8, 2022
1 parent 0f358ea commit 9071540
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint code

on:
push:
pull_request:

jobs:
lint:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Run pre-commit
uses: pre-commit/[email protected]

0 comments on commit 9071540

Please sign in to comment.