Skip to content

Commit 90e38c3

Browse files
committed
CI: run pre-commit on GHA
1 parent df58a93 commit 90e38c3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22+
pre-commit:
23+
name: precommit
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
with:
28+
fetch-depth: 0
29+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
30+
with:
31+
python-version: "3.x"
32+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
33+
with:
34+
extra_args: --hook-stage manual --all-files
2235
test:
2336
name: ${{ matrix.platform }} py${{ matrix.python-version }}
2437
runs-on: ${{ matrix.platform }}

0 commit comments

Comments
 (0)