integrate flake-update-diff

This commit is contained in:
ahuston-0 2025-03-03 11:24:28 -05:00
parent fd7a8204c3
commit 9630a1cee1
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -28,23 +28,23 @@ jobs:
cache: ${{ secrets.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- name: Calculate pre-drv
run: nix ./utils/eval-to-drv.sh pre
run: nix run git+https://nayeonie.com/ahuston-0/flake-update-diff --keep-hydra .
# - name: Pull latest docker images
# run: nix ./utils/fetch-docker.sh
- name: Update flake.lock (part 1)
run: nix flake update
- name: Calculate post-drv
run: nix ./utils/eval-to-drv.sh post
- name: Calculate diff
run: nix ./utils/diff-evals.sh
- name: Read diff into environment
run: |
delimiter="$(openssl rand -hex 8)"
{
echo "POSTDIFF<<${delimiter}"
cat post-diff
echo "${delimiter}"
} >> $GITHUB_ENV
run: nix run git+https://nayeonie.com/ahuston-0/flake-update-diff --keep-hydra .
# - name: Calculate diff
# run: nix ./utils/diff-evals.sh
# - name: Read diff into environment
# run: |
# delimiter="$(openssl rand -hex 8)"
# {
# echo "POSTDIFF<<${delimiter}"
# cat post-diff
# echo "${delimiter}"
# } >> $GITHUB_ENV
- name: Restore flake.lock for next step