feat: Improve serviceConfig & unitConfig mergeability #46
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: test | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 16 * * *' # UTC 16:00 daily | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# TODO: re-enable aarch64-linux once github has native runner | |
# https://github.com/orgs/community/discussions/19197 | |
system: [x86_64-linux] | |
version: | |
- nixpkgs: nixos-24.11 | |
home-manager: release-24.11 | |
- nixpkgs: nixos-unstable | |
home-manager: master | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:${{ matrix.version.nixpkgs }} | |
- run: > | |
nix flake check | |
--keep-going | |
--all-systems | |
--override-input quadlet-nix "path:$(pwd)" | |
--override-input nixpkgs 'github:NixOS/nixpkgs/${{ matrix.version.nixpkgs }}' | |
--override-input home-manager 'github:nix-community/home-manager/${{ matrix.version.home-manager }}' | |
--override-input test-config "path:$(pwd)/tests/${{ matrix.system }}" | |
./tests |