From 5f334deeb65e65818bcde12affb7d6a4e76c8a7a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 20 Sep 2024 17:15:51 +0200 Subject: [PATCH] Use magic-nix-cache --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d86e39..7fdd547 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,12 @@ jobs: os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} + permissions: + id-token: "write" + contents: "read" + steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@V28 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - run: nix flake check