Skip to content

chore: add GH CI workflows#123

Merged
rollandf merged 1 commit intoMellanox:mainfrom
rollandf:workflow
Sep 17, 2025
Merged

chore: add GH CI workflows#123
rollandf merged 1 commit intoMellanox:mainfrom
rollandf:workflow

Conversation

@rollandf
Copy link
Member

@rollandf rollandf commented Sep 7, 2025

No description provided.


.PHONY: check-go-modules
check-go-modules: generate-go-modules
git diff --quiet HEAD go.sum; if [ $$? -eq 1 ] ; then echo "go.sum is out of date. Please commit after running 'make generate-go-modules' command"; exit 1; fi
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest using existing git diff --exit-code capability, something like:

git diff --quiet --exit-code HEAD go.sum || (echo "go.sum is out of date. Please commit after running 'make generate-go-modules' command"; exit 1)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Done

Signed-off-by: Fred Rolland <frolland@nvidia.com>
@rollandf rollandf merged commit 6e838a8 into Mellanox:main Sep 17, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants