Skip to content

feat: add flake for nix pkg #76

feat: add flake for nix pkg

feat: add flake for nix pkg #76

Workflow file for this run

name: Rust CI
on: [push, pull_request]
jobs:
check:
name: Check, Test, Format and Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
- name: Cargo Check
uses: actions-rs/cargo@v1
with:
command: check
- name: Cargo Tests
uses: actions-rs/cargo@v1
with:
command: test
- name: Format Check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy Check
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings