Skip to content

CI: clean up nix workflows; build default package #1

CI: clean up nix workflows; build default package

CI: clean up nix workflows; build default package #1

Workflow file for this run

name: Check Flake Validity
on:
workflow_dispatch:
pull_request:
paths:
- "pyprland/**"
- "**.nix"
- "**.lock"
- ".github/workflows/check.yml"
push:
paths:
- "pyprland/**"
- "**.nix"
- "**.lock"
- ".github/workflows/check.yml"
jobs:
check:
uses: ./.github/workflows/nix.yml

Check failure on line 20 in .github/workflows/nix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nix.yml

Invalid workflow file

error parsing called workflow ".github/workflows/nix.yml" -> "./.github/workflows/nix.yml" (source branch with sha:7f202e5804f214e739622bc110ef99af816c07c9) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
command: nix flake check --accept-flake-config --print-build-logs
build:
needs: [check]
uses: ./.github/workflows/nix.yml
strategy:
matrix:
package:
- pyprland
secrets:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
command: nix build .#${{ matrix.package }} --print-build-logs