Skip to content

Commit d5bdb90

Browse files
committed
imp: github actions
1 parent e5d2c70 commit d5bdb90

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,27 @@ on:
88
workflow_call:
99

1010
jobs:
11+
pre-commit:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v4
16+
with:
17+
python-version: "3.13"
18+
- uses: actions/cache@v4
19+
with:
20+
path: ~/.cache/pre-commit
21+
key: ${{ runner.os }}-{{ hashFiles('.pre-commit-config.yaml') }}
22+
- uses: pre-commit/action@v3.0.1
23+
1124
privoxy:
1225
strategy:
1326
matrix:
1427
privoxy_version: [4.0.0]
1528
python-version: [3.13]
1629
fail-fast: false
1730
runs-on: ubuntu-latest
31+
needs: pre-commit
1832

1933
steps:
2034
- uses: actions/cache@v4

0 commit comments

Comments
 (0)