Fix/unary #371
Workflow file for this run
This file contains hidden or 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
| name: Basic check and lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - Cargo.toml | |
| - Cargo.lock | |
| - move-mutator/** | |
| - move-spec-test/** | |
| - move-mutation-test/** | |
| - .github/workflows/check-and-lint.yml | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - Cargo.toml | |
| - Cargo.lock | |
| - move-mutator/** | |
| - move-spec-test/** | |
| - move-mutation-test/** | |
| - .github/workflows/check-and-lint.yml | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| basic-lint-and-check: | |
| runs-on: self-hosted | |
| name: Basic ci-check for fmt/clippy/check | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install required deps | |
| run: sudo apt-get install libudev-dev libdw-dev lld | |
| - name: Setup Rust toolchain | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: rustfmt | |
| - name: Rustfmt Check | |
| uses: actions-rust-lang/rustfmt@v1 | |
| - name: Run clippy | |
| run: RUSTFLAGS="--cfg tokio_unstable" cargo clippy --all-targets -- -D warnings | |
| - name: Run check | |
| run: RUSTFLAGS="--cfg tokio_unstable" cargo check --all-targets |