Skip to content

chore: bump to 2.2.0 after M3 approval (#141) #382

chore: bump to 2.2.0 after M3 approval (#141)

chore: bump to 2.2.0 after M3 approval (#141) #382

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