Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
nix: Add job names and garnix substitutor (#31625)
Julia Ryan0e9f6986cf9b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 27520a3de48..3f3402f7680 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -714,6 +714,7 @@ jobs:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}nix-build:+ name: Build with Nixuses: ./.github/workflows/nix.ymlif: github.repository_owner == 'zed-industries' && contains(github.event.pull_request.labels.*.name, 'run-nix')with:diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.ymlindex 5f90604df9f..155fc484f57 100644--- a/.github/workflows/nix.yml+++ b/.github/workflows/nix.yml@@ -56,6 +56,7 @@ jobs:name: zedauthToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"pushFilter: "${{ inputs.cachix-filter }}"+ cachixArgs: '-v'- run: nix build .#${{ inputs.flake-output }} -L --accept-flake-configdiff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.ymlindex 09d669281ac..d4f8309e783 100644--- a/.github/workflows/release_nightly.yml+++ b/.github/workflows/release_nightly.yml@@ -168,6 +168,7 @@ jobs:run: script/upload-nightly linux-targzbundle-nix:+ name: Build and cache Nix packageneeds: testsuses: ./.github/workflows/nix.ymldiff --git a/flake.nix b/flake.nixindex b75e9a3150d..fe7a09701be 100644--- a/flake.nix+++ b/flake.nix@@ -54,9 +54,13 @@};nixConfig = {- extra-substituters = [ "https://zed.cachix.org" ];+ extra-substituters = [+ "https://zed.cachix.org"+ "https://cache.garnix.io"+ ];extra-trusted-public-keys = ["zed.cachix.org-1:/pHQ6dpMsAZk2DiP4WCL0p9YDNKWj2Q5FL20bNmw1cU="+ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="];};}