name: Build library & run tests
on: [push]
jobs:
build:
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run clippy
run: nix develop . -c cargo clippy
- name: Build & test
run: nix build