mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00

Cachix doesn't have rate limit issues like GitHub Actions does and I'd love to support the Nix community. Plus, I have experience with Cachix before and they've been so great.
19 lines
538 B
YAML
19 lines
538 B
YAML
on: [push, pull_request]
|
|
name: Nix
|
|
jobs:
|
|
check-zig-cache-hash:
|
|
runs-on: ubuntu-latest
|
|
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@v12
|
|
with:
|
|
name: ghostty
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
- name: Check Zig cache hash
|
|
run: nix develop -c ./nix/build-support/check-zig-cache-hash.sh
|