From 904f24a4384f6073874b2f4257d58c6a6f2b9858 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Sat, 16 Oct 2021 12:08:32 +0200 Subject: [PATCH] fix(ci): attempt to fix linux CI that failed on apt install step --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 739b4d9..519e97f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,8 @@ jobs: - name: Install Linux dependencies if: ${{ runner.os == 'Linux' }} run: | - sudo apt install libx11-dev libxtst-dev libxkbcommon-dev libdbus-1-dev libwxgtk3.0-gtk3-dev + sudo apt-get update + sudo apt-get install -y libx11-dev libxtst-dev libxkbcommon-dev libdbus-1-dev libwxgtk3.0-gtk3-dev - name: Check clippy run: | rustup component add clippy @@ -51,7 +52,8 @@ jobs: cargo fmt --all -- --check - name: Install Linux dependencies run: | - sudo apt install libxkbcommon-dev libwxgtk3.0-gtk3-dev libdbus-1-dev + sudo apt-get update + sudo apt-get install -y libxkbcommon-dev libwxgtk3.0-gtk3-dev libdbus-1-dev - name: Check clippy run: | rustup component add clippy