From fa9e2325bd5022dae3711aa6e346069d6c0a19b9 Mon Sep 17 00:00:00 2001 From: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Date: Fri, 20 Oct 2023 14:44:53 +0100 Subject: [PATCH] Added nix caching, set support matrix for nix builds to use macos13 rather than macos12 --- .github/workflows/build-with-nix.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-with-nix.yml b/.github/workflows/build-with-nix.yml index d0c1137c7f..b421485752 100644 --- a/.github/workflows/build-with-nix.yml +++ b/.github/workflows/build-with-nix.yml @@ -18,10 +18,14 @@ jobs: build_and_test: strategy: matrix: - os: ['ubuntu-22.04', 'macos-12'] + os: ['ubuntu-22.04', 'macos-13'] runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v23 + - uses: actions/cache@v3 + with: + path: ~/nix + key: nix-${{matrix.os}} - name: Build and test tket - run: nix flake check -L + run: nix --store ~/nix flake check -L