Skip to content

Commit

Permalink
ci(validate.yml): check checksum of files (#674)
Browse files Browse the repository at this point in the history
Ensure that once important files are changed, their checksum is also
updated.

Signed-off-by: Claudio André <[email protected]>
  • Loading branch information
claudioandre-br committed Dec 1, 2024
1 parent ebb08d3 commit 15108e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,13 @@ jobs:
exit 1
fi
done
- name: Check checksums
run: |
cd scripts && sha256sum ./*.sh > ../requirements.hash && cd -
cd patches && sha256sum ./* >> ../requirements.hash && cd -
echo "You should keep checksums updated!"
echo "**********************************************************************"
git diff
echo "**********************************************************************"
git diff --quiet

0 comments on commit 15108e4

Please sign in to comment.