Skip to content

Commit 3c62a9c

Browse files
committed
try out separate pre-commit action
1 parent 5cc14fa commit 3c62a9c

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ on:
1212
types: [published, edited]
1313

1414
jobs:
15+
pre-commit:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: "3.8"
22+
- uses: pre-commit/action@v3.0.1
23+
1524
tests:
1625
runs-on: ubuntu-latest
1726
strategy:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ commands = pre-commit run --all-files --show-diff-on-failure
1515

1616
[gh-actions]
1717
python =
18-
3.8: py38, pre-commit
18+
3.8: py38
1919
3.9: py39
2020
3.10: py310
2121
3.11: py311

0 commit comments

Comments
 (0)