maid/.github/workflows/flake.yml

22 lines
577 B
YAML
Raw Normal View History

on:
pull_request:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
build:
name: Build Nix targets
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5 # This action
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Nix Flake Check
run: nix flake check --all-systems