Fix dep installation in workflow "unit-tests"

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-23 19:40:56 +10:00
parent 1499f5c201
commit 3dbec7718d
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -26,10 +26,10 @@ jobs:
path: |
${{ env.HOME }}/.cargo
target
- name: Insall dependencies
- name: Install liblzma-dev, libzip-dev and libzstd-dev
run: |
apt update
apt install -y --no-install-recommends liblzma-dev libzip-dev libzstd-dev
sudo apt update
sudo apt install -y --no-install-recommends liblzma-dev libzip-dev libzstd-dev
- name: test
uses: actions-rs/cargo@v1
with: