diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4f2c9b9..fa23a91 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -9,6 +9,22 @@ env: CARGO_TERM_COLOR: always jobs: + lint: + name: Lint + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly + components: clippy, rustfmt + - name: Check Format + run: cargo fmt --check + - name: Run Clippy + run: cargo clippy + test: name: Test