Skip to content

Add Nix flake

Add Nix flake #23

Workflow file for this run

name: Rust
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
toolchain: [nightly]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
default: true
profile: minimal
- name: Build
run: cargo build
- name: Run tests
run: cargo test