Update ci2.yml

This commit is contained in:
Pablo Lopez 2024-10-08 15:33:34 +03:00 committed by GitHub
parent 2bdf0cdfcf
commit 542af06aa6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 3 deletions

View File

@ -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
path: test_results