From e0f336f2eed75a68914860b089ed0764cc1df5af Mon Sep 17 00:00:00 2001 From: RainingComputers Date: Thu, 9 Jan 2025 19:02:58 +0530 Subject: [PATCH] ci: Fix nix install command in workflow --- .github/workflows/quality-test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/quality-test.yml b/.github/workflows/quality-test.yml index 18b0a4ac..0772f86c 100644 --- a/.github/workflows/quality-test.yml +++ b/.github/workflows/quality-test.yml @@ -18,7 +18,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Install nix - run: sudo sh <(curl -L https://nixos.org/nix/install) --daemon --yes + uses: nixbuild/nix-quick-install-action@v29 - name: Run clang-format run: nix-shell --run 'make format-dry-run' Tidy: @@ -27,7 +27,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Install nix - run: sudo sh <(curl -L https://nixos.org/nix/install) --daemon --yes + uses: nixbuild/nix-quick-install-action@v29 - name: Run clang-tidy run: nix-shell --run 'make tidy' Test: @@ -36,7 +36,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Install nix - run: sudo sh <(curl -L https://nixos.org/nix/install) --daemon --yes + uses: nixbuild/nix-quick-install-action@v29 - name: Build debug executable run: nix-shell --run 'CXX=clang++ make build GCOV=1' - name: Run tests_runner