Skip to content

replace nix-shell with Nix Flake (#737) #6

replace nix-shell with Nix Flake (#737)

replace nix-shell with Nix Flake (#737) #6

Workflow file for this run

name: "Nix Flake"
on:
pull_request:
push:
jobs:
nix:
strategy:
fail-fast: true
matrix:
os:
- ubuntu-latest
- macos-latest
name: Nix on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: "Check `nix develop` shell"
run: nix develop --check
- name: "Check `nix develop` shell can run command"
run: nix develop --command "true"
- run: nix build
- run: nix flake check