ci(nix): added workflow to check and remove dead code through pull re… #1
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 workflow | |
on: [push, pull_request] | |
jobs: | |
check-flake: | |
name: Evaluate flake | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Check Nixpkgs Inputs | |
uses: DeterminateSystems/flake-checker-action@v5 | |
- name: Add Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Check the flake | |
run: nix flake check |