Skip to content

Yml reuse isn't playing nice #3

Yml reuse isn't playing nice

Yml reuse isn't playing nice #3

Workflow file for this run

name: generators
on:
pull_request:
push:
jobs:
minimal-iso:

Check failure on line 7 in .github/workflows/generators.yml

View workflow run for this annotation

GitHub Actions / generators

Invalid workflow file

The workflow is not valid. .github/workflows/generators.yml (Line: 7, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: nix-setup
steps:
- name: Install Nix
uses: cachix/install-nix-action@v26
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- name: minimal-iso
run: |
nix build .#minimal-iso
minimal-install-iso:
runs-on: ubuntu-latest
needs: nix-setup
steps:
- name: Install Nix
uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- name: minimal-install-iso
run: |
nix build .#minimal-install-iso