name: moq.rs on: pull_request: branches: [ "main" ] env: CARGO_TERM_COLOR: always jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: toolchain uses: actions-rust-lang/setup-rust-toolchain@v1 with: components: clippy, rustfmt - name: test run: cargo test --verbose - name: clippy run: cargo clippy - name: fmt run: cargo fmt --check