From 0f405caf247bfdf80a8aeacbf200e75c90186e4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Vasconcellos?= Date: Wed, 8 May 2024 02:04:25 -0300 Subject: [PATCH] Fix CI (#2461) Use native-tls-vendored for reqwest - Update prisma-client-rust - Fix mock_instance test - Clippy + fmt - Improve error handling when uninstall i386 libs in setup-system action --- .github/actions/setup-system/action.yml | 10 ++++++---- CONTRIBUTING.md | 2 +- Cargo.lock | Bin 303721 -> 303721 bytes Cargo.toml | 6 +++--- apps/desktop/crates/linux/src/app_info.rs | 6 +++--- apps/p2p-relay/Cargo.toml | 2 +- core/crates/sync/src/manager.rs | 4 +--- core/crates/sync/tests/mock_instance.rs | 6 ++++-- crates/cloud-api/Cargo.toml | 4 +--- crates/deps-generator/Cargo.toml | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/actions/setup-system/action.yml b/.github/actions/setup-system/action.yml index fba10941e..d6287844f 100644 --- a/.github/actions/setup-system/action.yml +++ b/.github/actions/setup-system/action.yml @@ -62,12 +62,14 @@ runs: shell: bash if: ${{ runner.os == 'Linux' }} run: | - dpkg -l | grep i386 - sudo apt-get purge --allow-remove-essential libc6-i386 ".*:i386" - sudo dpkg --remove-architecture i386 + set -eux + if dpkg -l | grep i386; then + sudo apt-get purge --allow-remove-essential libc6-i386 ".*:i386" || true + sudo dpkg --remove-architecture i386 || true + fi # https://github.com/actions/runner-images/issues/9546#issuecomment-2014940361 - sudo apt-get remove libunwind-* + sudo apt-get remove libunwind-* || true - name: Setup Rust and Dependencies uses: ./.github/actions/setup-rust diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 51b6e3142..48af3989d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -166,8 +166,8 @@ Once that has completed, run `xcode-select --install` in the terminal to install Also ensure that Rosetta is installed, as a few of our dependencies require it. You can install Rosetta with `softwareupdate --install-rosetta --agree-to-license`. ### Translations -Check out the [i18n README](interface/locales/README.md) for more information on how to contribute to translations. +Check out the [i18n README](interface/locales/README.md) for more information on how to contribute to translations. ### Credits diff --git a/Cargo.lock b/Cargo.lock index a7176d3b98d50b0b4bd8192344d4a11863149ab8..997d6fb70b14d71a5ce47a8a8ff904010f848915 100644 GIT binary patch delta 495 zcmaEPMCj!ap@tU5Ellf{`kNYABqkXqrx+L|8<{2=CK*~7CmSSMBqf`eq#9XRnwq4g zq!=Wnr6?1paC%}iv-os@DkjeDvdfr$Gt$KT?R6`dQfOoJbfD2L)A`((Ii|Dqv8YVn iv5M(6P5dz3VJ#E?bcr=ghiGDaJJ9&;4r`e;zXAYvqmv^5 delta 500 zcmaEPMCj!ap@tU5Ellf{2Bes!nI#z+nIu`5o1`VCSQ?llB^jD0Sr{g#8Ks(<8zh?< z7#JreTPhQ&aQeax%wp38s+c&p%PwR3%}5&yw%4s-N}-Y2(}8BYOy_fB=9tdb$D%TQ i$10}RwDHAshqX-n(