- name: Checkout
uses: actions/checkout@v2.3.3
- # FIXME: should not be necessary once 1.24.2 is the default version on the windows runner
- - name: Update rustup
- run: rustup self update
- if: runner.os == 'Windows'
-
- name: Install toolchain
run: rustup show active-toolchain
echo "$SYSROOT/bin" >> $GITHUB_PATH
- name: Build
- run: cargo build --features deny-warnings,internal-lints
+ run: cargo build --features deny-warnings,internal-lints,metadata-collector-lint
- name: Test
- run: cargo test --features deny-warnings,internal-lints
+ run: cargo test --features deny-warnings,internal-lints,metadata-collector-lint
- name: Test clippy_lints
- run: cargo test --features deny-warnings,internal-lints
+ run: cargo test --features deny-warnings,internal-lints,metadata-collector-lint
working-directory: clippy_lints
- name: Test rustc_tools_util
working-directory: clippy_workspace_tests
- name: Test cargo-clippy --fix
- run: ../target/debug/cargo-clippy clippy --fix -Zunstable-options
+ run: ../target/debug/cargo-clippy clippy --fix
working-directory: clippy_workspace_tests
- name: Test clippy-driver