diff --git a/.github/workflows/rust-ci-full.yml b/.github/workflows/rust-ci-full.yml index 9480c0537..7bc4d9c04 100644 --- a/.github/workflows/rust-ci-full.yml +++ b/.github/workflows/rust-ci-full.yml @@ -99,7 +99,19 @@ jobs: run: | sudo DEBIAN_FRONTEND=noninteractive apt-get update sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends pkg-config libcap-dev + - name: Install nightly argument-comment-lint toolchain + if: ${{ runner.os == 'Windows' }} + shell: bash + run: | + rustup toolchain install nightly-2025-09-18 \ + --profile minimal \ + --component llvm-tools-preview \ + --component rustc-dev \ + --component rust-src \ + --no-self-update + rustup default nightly-2025-09-18 - name: Run argument comment lint on codex-rs via Bazel + if: ${{ runner.os != 'Windows' }} shell: bash run: | ./.github/scripts/run-bazel-ci.sh \ @@ -110,6 +122,10 @@ jobs: --build_metadata=COMMIT_SHA=${GITHUB_SHA} \ -- \ //codex-rs/... + - name: Run argument comment lint on codex-rs via packaged wrapper + if: ${{ runner.os == 'Windows' }} + shell: bash + run: python3 ./tools/argument-comment-lint/run-prebuilt-linter.py # --- CI to validate on different os/targets -------------------------------- lint_build: