Skip to content

Implement MCAN shutdown by writing to CSR #150

Implement MCAN shutdown by writing to CSR

Implement MCAN shutdown by writing to CSR #150

Workflow file for this run

on:
push:
branches: master
pull_request:
name: Run CI
jobs:
check:
name: check
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
override: true
- name: Cache Dependencies
uses: Swatinem/[email protected]
- name: Run cargo check
uses: actions-rs/[email protected]
with:
command: check
args: --all-features
doc:
name: doc
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -D warnings
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
override: true
- name: Cache Dependencies
uses: Swatinem/[email protected]
- name: Run cargo doc
uses: actions-rs/[email protected]
with:
command: doc
args: --all-features
test:
name: test
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
override: true
- name: Cache Dependencies
uses: Swatinem/[email protected]
- name: Run cargo test
uses: actions-rs/[email protected]
with:
command: test
args: --all-features
fmt:
name: rustfmt
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: nightly
override: true
- name: Install rustfmt
run: rustup component add rustfmt
- name: Run cargo fmt
uses: actions-rs/[email protected]
with:
command: fmt
args: --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
override: true
- name: Install clippy
run: rustup component add clippy
- name: Cache Dependencies
uses: Swatinem/[email protected]
- name: Run cargo clippy
uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-deps --all-features