Skip to content

Commit 6bb3e71

Browse files
committed
chore: use pre-commit action
1 parent 260b098 commit 6bb3e71

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/cicd.yaml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,5 @@ jobs:
77

88
steps:
99
- uses: actions/checkout@v4
10-
11-
- name: Restore cached virtualenv
12-
uses: actions/cache/restore@v4
13-
with:
14-
key: venv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
15-
path: .venv
16-
17-
- name: Install uv
18-
uses: astral-sh/setup-uv@v4
19-
20-
- name: Run pre-commit
21-
run: uv run pre-commit run --all-files
22-
23-
- name: Saved cached virtualenv
24-
uses: actions/cache/save@v4
25-
if: always()
26-
with:
27-
key: venv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
28-
path: .venv
10+
- uses: actions/setup-python@v3
11+
- uses: pre-commit/[email protected]

0 commit comments

Comments
 (0)