Upgrade argument comment lint to Dylint 6.3.0 (#59505)

## Why

Dylint 6.1.0 required a Git branch alias to accommodate rust-clippy's removed `master` branch.

## What changed

- Upgrade the lint dependencies and CI/release tooling to Dylint 6.3.0, updating the Cargo and Bazel lockfiles.
- Remove the Clippy compatibility script and run `cargo test --locked` directly in CI.
- Update installation instructions and wrapper diagnostics to recommend the matching tool versions.

GitOrigin-RevId: 18ac1489cd3faa7a80abf26b092e5478881f142d
This commit is contained in:
Sean Huang
2026-11-04 22:34:04 +00:00
committed by copyberry
parent e115d5f90d
commit e15c5fc2b9
9 changed files with 33 additions and 38 deletions
+3 -3
View File
@@ -51,8 +51,8 @@ jobs:
name: Argument comment lint package
runs-on: ubuntu-24.04
env:
CARGO_DYLINT_VERSION: 6.1.0
DYLINT_LINK_VERSION: 6.1.0
CARGO_DYLINT_VERSION: 6.3.0
DYLINT_LINK_VERSION: 6.3.0
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
@@ -85,7 +85,7 @@ jobs:
run: python3 -m unittest discover -s tools/argument-comment-lint -p 'test_*.py'
- name: Test argument comment lint package
working-directory: tools/argument-comment-lint
run: bash ./test-with-clippy-compat.sh
run: cargo test --locked
env:
RUST_MIN_STACK: "8388608" # 8 MiB
+3 -3
View File
@@ -112,8 +112,8 @@ jobs:
needs: changed
if: ${{ needs.changed.outputs.argument_comment_lint_package == 'true' }}
env:
CARGO_DYLINT_VERSION: 6.1.0
DYLINT_LINK_VERSION: 6.1.0
CARGO_DYLINT_VERSION: 6.3.0
DYLINT_LINK_VERSION: 6.3.0
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
@@ -153,7 +153,7 @@ jobs:
run: python3 -m unittest discover -s tools/argument-comment-lint -p 'test_*.py'
- name: Test argument comment lint package
working-directory: tools/argument-comment-lint
run: bash ./test-with-clippy-compat.sh
run: cargo test --locked
env:
RUST_MIN_STACK: "8388608" # 8 MiB
@@ -25,8 +25,8 @@ jobs:
runs-on: ${{ matrix.runs_on || matrix.runner }}
timeout-minutes: 60
env:
CARGO_DYLINT_VERSION: 6.1.0
DYLINT_LINK_VERSION: 6.1.0
CARGO_DYLINT_VERSION: 6.3.0
DYLINT_LINK_VERSION: 6.3.0
strategy:
fail-fast: false