Skip to content

Commit

Permalink
try out separate pre-commit action
Browse files Browse the repository at this point in the history
  • Loading branch information
andhus committed Apr 16, 2024
1 parent 5cc14fa commit 3c62a9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ on:
types: [published, edited]

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- uses: pre-commit/[email protected]

tests:
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ commands = pre-commit run --all-files --show-diff-on-failure

[gh-actions]
python =
3.8: py38, pre-commit
3.8: py38
3.9: py39
3.10: py310
3.11: py311
Expand Down

0 comments on commit 3c62a9c

Please sign in to comment.