CI: clean up nix workflows; build default package #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / .github/workflows/nix.ymlInvalid workflow file
|
||
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 |