hyprutils/.github/workflows/nix.yml

17 lines
424 B
YAML

name: Build & Test
on: [push, pull_request, workflow_dispatch]
jobs:
nix:
strategy:
matrix:
package:
- hyprutils
- hyprutils-with-tests
if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork)
uses: hyprwm/actions/.github/workflows/nix.yml@main
secrets: inherit
with:
command: nix build .#${{ matrix.package }} --print-build-logs