mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-12 05:25:31 +03:00
ci: use cache-apt-pkgs-action to install sharkd
This commit is contained in:
parent
bf9278adbc
commit
806f7b6cf2
17
.github/workflows/testing.yml
vendored
17
.github/workflows/testing.yml
vendored
@ -33,20 +33,11 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install .[ai-features,dev]
|
||||
|
||||
- name: Cache APT packages
|
||||
id: apt-cache
|
||||
uses: actions/cache@v6
|
||||
with:
|
||||
path: /var/cache/apt/archives
|
||||
key: ${{ runner.os }}-apt-packages-${{ hashFiles('**/apt-packages.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-apt-packages-
|
||||
|
||||
- name: Install sharkd (marker replay engine)
|
||||
run: |
|
||||
echo "Cache Hit Status: ${{ steps.apt-cache.outputs.cache-hit }}"
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y wireshark-common
|
||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||
with:
|
||||
packages: wireshark-common
|
||||
version: linux-amd64
|
||||
|
||||
- name: Run all checks
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user