Skip to content

Nix flake & CI

Nix flake & CI #4

Workflow file for this run

name: "CI"
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
strategy:
matrix:
min-version: [true, false]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- if: ${{ matrix.min-version }}
run: nix shell . -c cargo update -Z direct-minimal-versions
- run: nix flake check --keep-going --print-build-logs