diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e1bf82e..d55f367 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,13 +15,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 - name: Install nix - run: | - sudo mkdir -p /nix /etc/nix - sudo chmod a+rwx /nix - sudo sh -c "echo 'sandbox = false' > /etc/nix/nix.conf" - sh <(curl -L https://nixos.org/nix/install) --no-daemon - mkdir -p /home/runner/.config/nix/ - echo 'experimental-features = nix-command flakes' > /home/runner/.config/nix/nix.conf + uses: cachix/install-nix-action@v23 - name: Update flake.lock uses: DeterminateSystems/update-flake-lock@v16 with: