Kth largest element in an array #273
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [pull_request] | |
name: Rust Clippy Check | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly | |
- name: Setup Clippy | |
run: rustup component add clippy | |
- name: Clippy Check in Rust LeetCode | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
working-directory: ./leetcode-rs | |
- name: Clippy Check in Rust Runtime | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
working-directory: ./runtime-rs |