Skip to content

fix bugs

fix bugs #19

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
tags-ignore: [ "v*" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Cache cargo registry
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/registry
~/.cargo/git
key: cargo-build-cache
- name: Check
run: nix develop -c cargo check
- name: Lint
run: nix develop -c cargo clippy
- name: Run tests
run: nix develop -c cargo test