mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-12 13:35:31 +03:00
ci: add caching for APT packages
This commit is contained in:
parent
5c6478e77e
commit
437fa5458e
8
.github/workflows/testing.yml
vendored
8
.github/workflows/testing.yml
vendored
@ -28,6 +28,14 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
cache: pip
|
||||
|
||||
- name: Cache APT packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /var/cache/apt/archives
|
||||
key: ${{ runner.os }}-apt-${{ hashFiles('**/apt-packages.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-apt-
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user