From 0b678bbf827d7d5107e80bcec22b581dd5ab23d6 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 31 Oct 2024 19:09:14 -0600 Subject: [PATCH] Add packages for clippy build to run (#24) --- .github/workflows/lint.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c3ae8f96bba..72d4c21317d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -40,6 +40,12 @@ jobs: components: clippy - name: Print installed Rust toolchains run: rustup toolchain list + - name: Install required non-Rust build tools + uses: awalsh128/cache-apt-pkgs-action@latest + with: + # TODO: check if we need all the packages below -- this list comes from the Libra build setup script + packages: build-essential lld pkg-config libssl-dev libgmp-dev clang + version: 1.0 # This is a cache key -- change it when you change the package list above - name: Run cargo fmt if: env.ENABLE_RUSTFMT == 'True' # Note the hacky +nightly below