Skip to content

Commit b133965

Browse files
committed
ci: Configure precommit for copilot
1 parent d36ca08 commit b133965

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/check.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,5 @@ jobs:
1919
version: "0.10.4"
2020
enable-cache: true
2121

22-
- name: Setup Python
23-
uses: 'actions/setup-python@v6'
24-
with:
25-
python-version-file: "pyproject.toml"
26-
2722
- name: Run checks
2823
run: make check

.github/workflows/copilot-setup-steps.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ jobs:
2525
enable-cache: true
2626

2727
- name: Setup Python
28-
uses: actions/setup-python@v6
28+
uses: 'actions/setup-python@v6'
2929
with:
3030
python-version-file: "pyproject.toml"
31+
pip-install: "pre-commit"
3132

3233
- name: Install dependencies
3334
run: uv sync --all-packages
35+
36+
- name: Configure precommit
37+
run: pre-commit install

0 commit comments

Comments
 (0)