From e34113e469c7181c8dfbbf1ee447067f63f778a9 Mon Sep 17 00:00:00 2001 From: zackees Date: Thu, 27 Aug 2026 03:13:12 -0700 Subject: [PATCH] ci: use setup-soldr ci-tests Dylint profile --- .github/workflows/dylint.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dylint.yml b/.github/workflows/dylint.yml index 624201f5d..be9496b4a 100644 --- a/.github/workflows/dylint.yml +++ b/.github/workflows/dylint.yml @@ -86,11 +86,18 @@ jobs: run: uv run --no-project python ci/enforce_platform_boundary.py --print-totals - uses: zackees/setup-soldr@v0 with: - version: 0.8.23 + # ci-tests delegates the pinned nightly, driver, and tool binaries + # to Soldr's one Dylint foundation instead of recompiling them in + # the three bootstrap steps that used to follow. + version: 0.9.10 cache: true toolchain: 1.95.0 cache-key-suffix: dylint prebuild-deps: none + ci-tests: true + dylint-toolchain: nightly-2026-04-16 + cargo-dylint-version: 6.0.1 + dylint-link-version: 6.0.1 # Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo / # rust-toolchain.toml stays in charge. Silences the routine # "defaulting SOLDR_LINKER=fast" warning (issue #400 / @@ -102,16 +109,14 @@ jobs: # at the action default (6 GiB). cache-payload-warn-bytes: 2GiB - name: Install Dylint nightly toolchain - # Pin matches every `dylints/*/rust-toolchain.toml`. timeout-minutes: 10 run: soldr rustup toolchain install nightly-2026-04-16 --component llvm-tools-preview --component rust-src --component rustc-dev --component rustfmt --profile minimal - name: Install Dylint timeout-minutes: 10 run: soldr cargo install cargo-dylint dylint-link --version 6.0.1 --locked - name: Build published Dylint driver - # Dylint 6.0.1 clears RUSTUP_TOOLCHAIN before its driver build even - # though the published driver's build script requires it. This narrow - # bootstrap uses the crates.io driver; it does not clone Dylint. + # Dylint is explicitly permitted to build under its separate nightly + # until its matching Windows driver becomes a published prebuilt. timeout-minutes: 15 run: uv run --no-project python ci/build_dylint_driver.py - name: Check Dylint library formatting