Skip to content

[Features][CustomSched][BPFLib] #75

[Features][CustomSched][BPFLib]

[Features][CustomSched][BPFLib] #75

Workflow file for this run

on:
pull_request:
name: Check and Lint
defaults:
run:
shell: bash
working-directory: ./src/Ilúvatar
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo install cross --git https://github.com/cross-rs/cross
- run: make check
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- run: make format-check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: cargo install cross --git https://github.com/cross-rs/cross
- run: rustup component add clippy
- run: make clippy