misc: update deps (#186) #316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "flake build" | |
on: | |
push: | |
branches: [ main ] | |
tags: [ '*' ] | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [ "24.11", "unstable" ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
- uses: DeterminateSystems/magic-nix-cache-action@v8 | |
with: | |
diagnostic-endpoint: false | |
use-flakehub: false | |
- name: build stable | |
if: matrix.target != 'unstable' | |
run: | | |
nix build -L \ | |
--override-input nixpkgs github:NixOS/nixpkgs/nixos-${{ matrix.target }} | |
- name: build unstable | |
if: matrix.target == 'unstable' | |
run: | | |
nix build -L |