Skip to content

Commit

Permalink
Make CI clean working tree checks simpler and more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Apr 9, 2024
1 parent 1103b97 commit 8884a87
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check that working tree is initially clean
run: |
git status
set -x
git status | grep -qF 'nothing to commit, working tree clean'
run: git status; set -x; git diff --quiet
- name: Regenerate gix-packetline-blocking/src
run: etc/copy-packetline.sh
- name: Check that gix-packetline-blocking/src was already up to date
run: |
git status
set -x
git status | grep -qF 'nothing to commit, working tree clean'
run: git status; set -x; git diff --quiet

0 comments on commit 8884a87

Please sign in to comment.