From a0794020b2d89e2db15cebadb3b6c1f9bf9495c5 Mon Sep 17 00:00:00 2001 From: Andrii Sokyrko Date: Wed, 23 Aug 2023 17:52:41 +0200 Subject: [PATCH] Update CI --- .github/actions/rust-setup/action.yaml | 2 -- .github/workflows/rust.yml | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/rust-setup/action.yaml b/.github/actions/rust-setup/action.yaml index da4e544b06f6d..ad4c6a78a7c4f 100644 --- a/.github/actions/rust-setup/action.yaml +++ b/.github/actions/rust-setup/action.yaml @@ -3,8 +3,6 @@ runs: steps: - run: sudo apt-get update && sudo apt-get install build-essential ca-certificates clang curl git libpq-dev libssl-dev pkg-config unzip --no-install-recommends --assume-yes shell: bash - - run: rustup component add rustfmt clippy - shell: bash - run: echo "${HOME}/cargo/bin" | tee -a $GITHUB_PATH shell: bash - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1546e96e17f14..50ae8b3b03435 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -81,6 +81,7 @@ jobs: ${{ secrets.MAMORU_CORE_KEY }} ${{ secrets.VALIDATION_CHAIN_KEY }} - uses: ./.github/actions/rust-setup + - run: rustup component add clippy # TODO(bradh): debug and re-enable this; the caching is breaking the clippy build # Enable caching of the 'librocksdb-sys' crate by additionally caching the