Skip to content

Commit

Permalink
Adds pre-commit job to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Nov 23, 2021
1 parent 70462ec commit 0da6341
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/srt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,19 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v2
with:
python-vesion: 3.9
- name: Install and run pre-commit
uses: pre-commit/action@v2.0.3

# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
Expand Down

0 comments on commit 0da6341

Please sign in to comment.