-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,27 +88,9 @@ jobs: | |
# - run: nix build -L --no-link ".#bertie" | ||
- run: true | ||
|
||
success: | ||
message_results: | ||
needs: [hax, charon, eurydice, ml-kem, bertie] | ||
runs-on: [self-hosted, linux, nix] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: nightly | ||
|
||
- name: commit the good flake.lock | ||
run: | | ||
[[ $(git diff) != "" ]] || exit 0 | ||
git config --local user.name "Prosecco" | ||
git config --local user.email "[email protected]" | ||
cp flake.lock good.lock | ||
git commit -am "record the last-good flake lock" | ||
git push | ||
complete: | ||
needs: [hax, charon, eurydice, ml-kem, bertie, success] | ||
runs-on: [self-hosted, linux, nix] | ||
if: ${{ success() || failure() }} # Will always run unless canceled | ||
steps: | ||
- name: checkout | ||
|
@@ -146,3 +128,23 @@ jobs: | |
# { "text": "Unexpected Error: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" } | ||
# env: | ||
# SLACK_WEBHOOK_URL: ${{ secrets.ZULIP_WEBHOOK_URL }} | ||
|
||
success: | ||
needs: [hax, charon, eurydice, ml-kem, bertie, message_results] | ||
runs-on: [self-hosted, linux, nix] | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: nightly | ||
|
||
- name: commit the good flake.lock | ||
run: | | ||
[[ $(git diff) != "" ]] || exit 0 | ||
git config --local user.name "Prosecco" | ||
git config --local user.email "[email protected]" | ||
cp flake.lock good.lock | ||
git commit -am "record the last-good flake lock" | ||
# TODO: push to main if run from workflow or cron | ||
git push | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters