Skip to content

Nix

Nix #516

Workflow file for this run

name: Nix
on:
push:
branches:
- main
pull_request:
schedule:
- cron: '0 1 * * *'
jobs:
nix-build-unstable:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: cachix/install-nix-action@v24
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Checkout
uses: actions/checkout@v3
- uses: cachix/cachix-action@v14
with:
name: gh-harmony
# If you chose API tokens for write access OR if you have a private cache
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build
run: nix build --accept-flake-config
- name: Check
run: nix flake check -L --accept-flake-config