Skip to content

Commit

Permalink
feat: Better update flake CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lpchaim committed Oct 4, 2024
1 parent f25d331 commit 96eb61c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
system: aarch64-linux
- name: Update flake inputs
run: |
nix flake update 1> update.stdout 2> update.stderr
nix flake update \
| tee --output-error /dev/tty \
1> update.stdout \
2> update.stderr
- name: Cache flake.lock
uses: actions/[email protected]
with:
Expand Down Expand Up @@ -56,7 +59,10 @@ jobs:
key: flake-lock-${{ github.sha }}
- name: Run flake checks
run: |
nix flake check 1> check-${{ matrix.system }}.stdout 2> check-${{ matrix.system }}.stderr
nix flake check \
| tee --output-error /dev/tty \
1> check-${{ matrix.system }}.stdout \
2> check-${{ matrix.system }}.stderr
- name: Cache check results
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 96eb61c

Please sign in to comment.