Skip to content

Configure Sweep

Configure Sweep #37

Workflow file for this run

on:
pull_request:
branches:
- develop
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: rustup component add rustfmt --toolchain nightly
- run: cd api && cargo +nightly fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: rustup component add clippy --toolchain nightly
- run: cd api && cargo +nightly clippy --all -- -D warnings