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: machines
on:
pull_request:
push:
jobs:
clawsiecats-minimal:

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

View workflow run for this annotation

GitHub Actions / machines

Invalid workflow file

The workflow is not valid. .github/workflows/machines.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: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
- name: Install Nix
uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- name: clawsiecats-minimal
run: |
nix build .#nixosConfigurations.clawsiecats-minimal.config.system.build.toplevel
nixin:
runs-on: ubuntu-latest
needs: nix-setup
steps:
- name: Maximize build space
uses: AdityaGarg8/remove-unwanted-software@v4.1
with:
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'
- uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
- name: Install Nix
uses: cachix/install-nix-action@v27
# with:
# nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v4
- name: nixin
run: |
nix build .#nixosConfigurations.nixin.config.system.build.toplevel