Skip to content

add nix flake to build the package #65

add nix flake to build the package

add nix flake to build the package #65

Workflow file for this run

name: Rust
on:
push:
branches:
- "**"
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install LLVM and Clang
uses: KyleMayes/[email protected]
with:
version: 14
- name: Build
run: cargo check --all-targets
- name: check style
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all-targets -- -D warnings
- name: Pedantic linting
run: cargo clippy --all-targets -- -W clippy::pedantic
- name: Run tests
run: cargo test