Skip to content

feat: merge milestone 4 #229

feat: merge milestone 4

feat: merge milestone 4 #229

Workflow file for this run

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-rs/toolchain@v1
with:
profile: default
toolchain: stable
- name: Run check
run: cargo check --all-targets
- name: Run fmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets -- -D warnings