chore: routine update #481
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: Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
flake: | |
strategy: | |
matrix: | |
runners: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.runners }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V27 | |
- uses: DeterminateSystems/magic-nix-cache-action@v7 | |
- name: Check flake | |
run: nix flake check | |
nixos: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V27 | |
- uses: DeterminateSystems/magic-nix-cache-action@v7 | |
- name: Build NixOS configuration | |
run: nix run '.#os' -- build -L --flake '.#ci' --print-build-logs |