From a55bea3491c1bd586efc8ab96b679eb4feae3704 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 28 Dec 2024 14:38:21 -0800 Subject: [PATCH] ci: install nix --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b648f79a..f1ea32a9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -342,6 +342,7 @@ jobs: matrix: adwaita: ["true", "false"] x11: ["true", "false"] + name: GTK adwaita=${{ matrix.adwaita }} x11=${{ matrix.x11 }} runs-on: namespace-profile-ghostty-sm needs: test env: @@ -358,6 +359,15 @@ jobs: /nix /zig + # Install Nix and use that to run our tests so our environment matches exactly. + - uses: cachix/install-nix-action@v30 + with: + nix_path: nixpkgs=channel:nixos-unstable + - uses: cachix/cachix-action@v15 + with: + name: ghostty + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Test GTK Build run: | nix develop -c \