Skip to content

Commit

Permalink
flake: use garnix cache; gh action to use the same
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 15, 2023
1 parent 8feaa82 commit 34f32ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build --no-link --print-out-paths .#e2e-playwright-test
- run: nix --accept-flake-config build --no-link --print-out-paths .#e2e-playwright-test
- name: E2E tests
run: nix run .#e2e-playwright-test
run: nix --accept-flake-config run .#e2e-playwright-test
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
description = "WIP: nix-browser";
nixConfig = {
# https://garnix.io/docs/caching
extra-substituters = "https://cache.garnix.io";
extra-trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=";
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
Expand Down

0 comments on commit 34f32ff

Please sign in to comment.