A GitHub Action that performs health checks for your Nix flake.lock files
Find a file
2023-06-05 13:13:17 +02:00
.github/workflows Add 'dirty' flake checks 2023-06-05 13:13:17 +02:00
.editorconfig Add initial README and action definition 2023-06-05 13:05:21 +02:00
.envrc Add CI job to verify that the action works 2023-06-05 13:10:41 +02:00
action.yml Add initial README and action definition 2023-06-05 13:05:21 +02:00
flake.dirty.lock Add 'dirty' flake checks 2023-06-05 13:13:17 +02:00
flake.lock Add CI job to verify that the action works 2023-06-05 13:10:41 +02:00
flake.nix Add CI job to verify that the action works 2023-06-05 13:10:41 +02:00
README.md Add initial README and action definition 2023-06-05 13:05:21 +02:00

The Determinate flake checker Action

Here's an example configuration:

on:
  pull_request:
  push:
    branches: [main]

jobs:
  build:
    name: Build Nix targets
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v3
      - name: Check Nix flake inputs
        uses: DeterminateSystems/flake-checker-action@v1
      - name: Install Nix
        uses: DeterminateSystems/nix-installer-action@v3
      - name: Build default package
        run: |
          nix build