A GitHub Action that performs health checks for your Nix flake.lock files
Find a file
2023-06-05 13:05:21 +02:00
.editorconfig Add initial README and action definition 2023-06-05 13:05:21 +02:00
action.yml Add initial README and action definition 2023-06-05 13:05:21 +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