From 921bee80c89ba689772bf5487abece7080ac1169 Mon Sep 17 00:00:00 2001 From: Oliver Ford Date: Tue, 19 Mar 2024 22:33:42 +0000 Subject: [PATCH] Fix pre-commit error missing dep javascriptcoregtk --- .github/workflows/lint.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9c69aa4..3d85b9f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -28,11 +28,21 @@ jobs: run: | wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list - sudo apt-get update - # From tauri's Actions workflow - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf + sudo apt update sudo apt-get install -y libnotmuch-dev sudo apt-get install -y just + # From https://tauri.app/v1/guides/getting-started/prerequisites/#setting-up-linux + sudo apt install --yes \ + libwebkit2gtk-4.0-dev \ + build-essential \ + curl \ + wget \ + file \ + libssl-dev \ + libgtk-3-dev \ + libayatana-appindicator3-dev \ + librsvg2-dev \ + ; - name: Run pre-commit hooks run: pre-commit run --all-files