Skip to content

Commit

Permalink
ci: install nix
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Dec 28, 2024
1 parent f95aa32 commit a55bea3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 \
Expand Down

0 comments on commit a55bea3

Please sign in to comment.