Skip to content

ci: nix flake

ci: nix flake #12

Workflow file for this run

name: nix
on:
workflow_dispatch:
merge_group:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build-nix-package:
strategy:
matrix:
os: [ubuntu-24.04, ubuntu-22.04-arm, macos-14]
runs-on: ${{ matrix.os }}
permissions:
contents: read
id-token: write
if: github.event.pull_request.draft == false
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
determinate: true
- uses: DeterminateSystems/flakehub-cache-action@main
- run: nix build ".#dependencies" --dry-run
- run: nix build ".#dependencies" --no-link