dotfiles/.github/workflows/check.yml

21 lines
531 B
YAML
Raw Permalink Normal View History

2023-07-29 19:20:14 +00:00
name: Check Build
on:
workflow_dispatch: # allows manual triggering
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Nix
2024-06-02 18:04:28 +00:00
uses: DeterminateSystems/nix-installer-action@v11
2023-07-29 19:20:14 +00:00
- name: Check Nixpkgs Inputs
2024-06-02 18:04:28 +00:00
uses: DeterminateSystems/flake-checker-action@v7
2023-07-29 19:20:14 +00:00
- name: Add Nix Cache
2024-06-02 18:04:28 +00:00
uses: DeterminateSystems/magic-nix-cache-action@v6
2023-07-29 19:20:14 +00:00
- name: Check the Flake
run: nix flake check