mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
20 lines
612 B
YAML
20 lines
612 B
YAML
on: [push, pull_request]
|
|
name: Nix
|
|
jobs:
|
|
check-zig-cache-hash:
|
|
runs-on: namespace-profile-ghostty-sm
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
- name: Setup Nix
|
|
uses: cachix/install-nix-action@v24
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
- uses: cachix/cachix-action@v14
|
|
with:
|
|
name: ghostty
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
useDaemon: false # sometimes fails on short jobs
|
|
- name: Check Zig cache hash
|
|
run: nix develop -c ./nix/build-support/check-zig-cache-hash.sh
|