diff --git a/.github/workflows/ci2.yml b/.github/workflows/ci2.yml index 8c235d2c..d4889a02 100644 --- a/.github/workflows/ci2.yml +++ b/.github/workflows/ci2.yml @@ -1,4 +1,4 @@ -name: CI +name: CI2 on: workflow_dispatch: @@ -31,6 +31,13 @@ jobs: - name: Set up Nix uses: cachix/install-nix-action@v27 + + - name: Cache Nix store + uses: nix-community/cache-nix-action@v5 + with: + key: ${{ runner.os }}-nix-${{ hashFiles('**/flake.lock') }} + restore-keys: | + ${{ runner.os }}-nix- - name: Build status-cli run: | @@ -38,7 +45,7 @@ jobs: make status-cli - name: Copy status-cli binary to test repo root - run: cp status-go/cmd/status-cli/status-cli . + run: cp build/bin/status-cli . - name: Run tests run: | @@ -90,4 +97,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: test-results - path: test_results \ No newline at end of file + path: test_results