ci: use cache-apt-pkgs-action to install sharkd

This commit is contained in:
grossmj 2026-10-11 21:34:56 +07:00
parent bf9278adbc
commit 806f7b6cf2
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -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: |