Skip to content

Commit 5c90bb8

Browse files
authored
Use pre-commit github action (#3530)
This simplifies the CI setup and applies the right options by default, e.g. running on all files or showing a nice failure diff to users
1 parent fbff6e1 commit 5c90bb8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/formatting.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,4 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17-
- name: Set up Python
18-
uses: actions/setup-python@v5
19-
with:
20-
python-version: 3.11
21-
- name: Install dependencies
22-
run: |
23-
pip install pre-commit
24-
- name: Run pre-commit
25-
run: |
26-
pre-commit run --all-files
17+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)