Skip to content

Commit b5afc19

Browse files
committed
Lint CI step runs pre-commit instead of make file hooks to ensure version encapsulation
1 parent 45ae0da commit b5afc19

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up Python
15-
uses: actions/setup-python@v3
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Run lint
19-
run: |
20-
make init
21-
make check_lint
19+
uses: pre-commit/[email protected]
2220

2321
test:
2422
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)