Skip to content

small fixes and add the n2c to the workspace properly #270

small fixes and add the n2c to the workspace properly

small fixes and add the n2c to the workspace properly #270

Workflow file for this run

name: Linter and unit tests
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup"
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: "Format check"
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: "Linter checks"
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- --deny "clippy::all"
- name: "Check"
uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --all-targets
- name: "Test"
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets