From 1e10b33285d12d337cd7a7918b720cbc5e7d4c72 Mon Sep 17 00:00:00 2001 From: guangtao Date: Sat, 25 Nov 2023 23:38:41 -0800 Subject: [PATCH] refactor(CI): use nix profile --- .github/workflows/checks.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 51a7331..be9ba58 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -20,9 +20,9 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - - uses: yaxitech/nix-install-pkgs-action@v3 - with: - packages: "nixpkgs#nixci" + - name: Install nixci + shell: bash + run: nix profile install nixpkgs#nixci # CI workflows - name: Run Nix Flake Show @@ -32,7 +32,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - nix develop .#nix/std -c nvfetcher-pkgs; nvfetcher-python; nvfetcher-go + nix develop ./nix/std -c nvfetcher-pkgs; nvfetcher-python; nvfetcher-go - run: nixci