Skip to content

Merge pull request #41 from KG32/fix/ndl-in-deco #112

Merge pull request #41 from KG32/fix/ndl-in-deco

Merge pull request #41 from KG32/fix/ndl-in-deco #112

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enforce formatting
run: cargo fmt --check
clippy:
name: Clippy check
env:
RUSTFLAGS: "-Dwarnings"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose