From 46b0cb67ef77a18641ff8d23d791fc8ae482c92d Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Fri, 22 May 2026 12:51:34 +0000 Subject: [PATCH] fix(ci): Install mold linker and rustfmt component for CI Add mold to system deps (needed by .cargo/config.toml linker setting) and explicitly install rustfmt/clippy components since mise-action doesn't always install Rust components. --- .github/workflows/push.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 47e81fa..1d8cf16 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -32,7 +32,10 @@ jobs: cargo-${{ runner.os }}- - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y clang lld libssl-dev pkg-config + run: sudo apt-get update && sudo apt-get install -y clang lld mold libssl-dev pkg-config + + - name: Ensure Rust components + run: rustup component add rustfmt clippy - name: Check formatting run: cargo fmt -- --check @@ -67,7 +70,7 @@ jobs: cargo-${{ runner.os }}- - name: Install system dependencies - run: sudo apt-get update && sudo apt-get install -y clang lld libssl-dev pkg-config libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libpango-1.0-0 libcairo2 libasound2t64 libnss3 libxshmfence1 + run: sudo apt-get update && sudo apt-get install -y clang lld mold libssl-dev pkg-config libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libpango-1.0-0 libcairo2 libasound2t64 libnss3 libxshmfence1 - name: Install Chrome for Testing run: mise run install-e2e