From 842b500cc12b260a80ae3ab7dd3d8e95954d4da8 Mon Sep 17 00:00:00 2001 From: Andre-Philippe Paquet Date: Wed, 18 Sep 2024 22:07:13 -0400 Subject: [PATCH] gha check --- .github/workflows/push-check.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/push-check.yaml b/.github/workflows/push-check.yaml index 179a804..e784645 100644 --- a/.github/workflows/push-check.yaml +++ b/.github/workflows/push-check.yaml @@ -19,3 +19,33 @@ jobs: access-tokens = github.com=${{ secrets.GH_PAT }} github-token: ${{ secrets.GH_PAT }} - run: MACHINE_KEY="${{ matrix.machine }}" ./x home check + + darwin_check: + runs-on: ubuntu-latest + strategy: + matrix: + machine: ["appaquet@mbpapp"] + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + with: + extra-conf: | + experimental-features = nix-command flakes + access-tokens = github.com=${{ secrets.GH_PAT }} + github-token: ${{ secrets.GH_PAT }} + - run: MACHINE_KEY="${{ matrix.machine }}" ./x darwin check + + nixos_check: + runs-on: ubuntu-latest + strategy: + matrix: + machine: ["appaquet@deskapp"] + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + with: + extra-conf: | + experimental-features = nix-command flakes + access-tokens = github.com=${{ secrets.GH_PAT }} + github-token: ${{ secrets.GH_PAT }} + - run: MACHINE_KEY="${{ matrix.machine }}" ./x nixos check