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 e36f345 commit c8f2457
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
@@ -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/action@v2.0.0

0 comments on commit c8f2457

Please sign in to comment.