mirror of
https://github.com/nix-community/plasma-manager.git
synced 2024-09-11 09:55:26 +03:00
* Also tweaked the CI a little bit. --------- Co-authored-by: magnouvean <85435692+magnouvean@users.noreply.github.com>
19 lines
657 B
YAML
19 lines
657 B
YAML
name: "Check"
|
|
on:
|
|
pull_request:
|
|
# cancel previous runs when pushing new changes
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
checks:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: cachix/install-nix-action@v22
|
|
with:
|
|
extra_nix_config: "system-features = kvm nixos-test"
|
|
- run: nix flake check -L --keep-going
|
|
- run: nix flake check -L --keep-going --override-input plasma-manager . ./examples/homeManagerFlake
|
|
- run: nix flake check -L --keep-going --override-input plasma-manager . ./examples/systemFlake
|