Skip to content

Add new Nix files for package management #17

Add new Nix files for package management

Add new Nix files for package management #17

Workflow file for this run

name: "Build"
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
name: test and build on ${{ matrix.os }}.
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
environment: cachix
steps:
- uses: actions/checkout@main
- uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: nichijou
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check --all-systems
- run: nix build