Skip to content

Commit

Permalink
Add pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoffinden committed Nov 15, 2023
1 parent 057e87b commit dd75362
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ updates:
directory: /
schedule:
interval: weekly
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: pre-commit
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
with:
python-version: "3.11"
cache: pip
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
- run: "python -m pip install --upgrade pip"
- run: "pip install -r requirements.txt"

0 comments on commit dd75362

Please sign in to comment.