flake.yml 577 B

123456789101112131415161718192021
  1. on:
  2. pull_request:
  3. push:
  4. branches: [main]
  5. concurrency:
  6. group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
  7. cancel-in-progress: true
  8. jobs:
  9. build:
  10. name: Build Nix targets
  11. runs-on: ubuntu-22.04
  12. steps:
  13. - uses: actions/checkout@v4
  14. - name: Check Nix flake inputs
  15. uses: DeterminateSystems/flake-checker-action@v5 # This action
  16. - name: Install Nix
  17. uses: DeterminateSystems/nix-installer-action@v4
  18. - name: Nix Flake Check
  19. run: nix flake check --all-systems