mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-03 20:40:16 -05:00
CI: cache tox environments
This commit is contained in:
parent
e78c299e71
commit
a2b47c7439
1 changed files with 9 additions and 0 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -179,6 +179,15 @@ jobs:
|
|||
${{ runner.os }}-pip-
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Cache tox environments
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: .tox
|
||||
key: ${{ runner.os }}-tox-${{ matrix.toxenv }}-${{ hashFiles('requirements.d/development.txt', 'pyproject.toml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-tox-${{ matrix.toxenv }}-
|
||||
${{ runner.os }}-tox-
|
||||
|
||||
- name: Install Linux packages
|
||||
if: ${{ runner.os == 'Linux' }}
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue