Skip to content

build: bump deps

build: bump deps #184

Workflow file for this run

name: "Build NH"
on:
pull_request:
push:
branches-ignore:
- 'update-*'
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Install Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build github:$GITHUB_REPOSITORY/$GITHUB_SHA -L
- name: NixOS check
env:
out: /nixos
run: |
sudo /bin/bash <<EOF
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
mkdir -pv $out
mount -t tmpfs none $out
nix profile install nixpkgs#nixos-install-tools
nixos-install \
--flake github:$GITHUB_REPOSITORY/$GITHUB_SHA#check \
--root $out \
--no-root-passwd \
--no-bootloader
EOF