File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 pre-commit :
1212 runs-on : ubuntu-latest
13+ env :
14+ DEBIAN_FRONTEND : noninteractive
15+ POETRY_NO_INTERACTION : 1
16+ POETRY_NO_DEV : 1
17+ PYTHONDONTWRITEBYTECODE : 1
18+ PYTHONUNBUFFERED : 1
19+
1320 steps :
1421 - uses : actions/checkout@v4
1522 - uses : actions/setup-python@v4
1623 with :
1724 python-version : " 3.13"
25+ - name : Install poetry
26+ uses : abatilo/actions-poetry@v3
27+ with :
28+ poetry-version : latest
1829 - uses : actions/cache@v4
1930 with :
20- path : ~/.cache/pre-commit
21- key : ${{ runner.os }}-{{ hashFiles('.pre-commit-config.yaml') }}
31+ path : |
32+ ~/.cache/pre-commit
33+ .venv
34+ .cache
35+ key : ${{ runner.os }}-{{ hashFiles('**/.pre-commit-config.yaml') }}
36+ - name : Install dependencies
37+ run : |
38+ poetry config virtualenvs.in-project true
39+ poetry install
2240 - uses : pre-commit/action@v3.0.1
2341
2442 privoxy :
2947 fail-fast : false
3048 runs-on : ubuntu-latest
3149 needs : pre-commit
50+ env :
51+ DEBIAN_FRONTEND : noninteractive
52+ PYTHONDONTWRITEBYTECODE : 1
53+ PYTHONUNBUFFERED : 1
3254
3355 steps :
3456 - uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments