Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,21 @@ jobs:
with:
recipe: "doctest"

- &verify-clean-tree
name: "verify-clean-tree"
run: |
set -euo pipefail
if [ -n "$(git status --porcelain)" ]; then
echo "::error:: Building the project left the tree dirty."
echo "----- git status --porcelain -----"
git status --porcelain
echo "----- git diff -----"
git diff
echo "----- hint -----"
echo "If the diff is on Cargo.lock, run a build locally and commit the updated lock file."
exit 1
fi
Comment thread
qmonnet marked this conversation as resolved.
Resolved

- &tmate
name: "Setup tmate session for debug"
if: "${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}"
Expand Down Expand Up @@ -257,6 +272,7 @@ jobs:
)
just "${base_args[@]}" push-container "${NIX_TARGET}"
just "${base_args[@]}" "version=${VERSION}-${PROFILE}" push-container "${NIX_TARGET}"
- *verify-clean-tree
- *tmate

sanitize:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading