Skip to content

Commit

Permalink
Fix pre-commit GitHub Actions workflow (#973)
Browse files Browse the repository at this point in the history
* Add `on.push` to pre-commit workflow

* Set explicit `python-version` in pre-commit workflow
  • Loading branch information
lafrenierejm committed Oct 10, 2022
1 parent e9b8ab4 commit 551343c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: "Pre-commit"

on:
push: {}

jobs:
pre-commit:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install
run: pip3 install pre-commit
- name: Run
Expand Down

0 comments on commit 551343c

Please sign in to comment.