-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add build workflow for sdkexamples #1657
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great addition to #1543!
Can you also add sdkexamples/sdkexamples
to .gitignore
for good measure?
Either way, lgtm 👍
ac17e3f
to
3351c58
Compare
Added |
Makefile
Outdated
@@ -23,6 +23,10 @@ run-link-checker: | |||
|
|||
check-links-ci: set-up-link-checker run-link-checker | |||
|
|||
.PHONY: sdkexamples | |||
sdkexamples: | |||
cd sdkexamples; make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case you didn't know make -C sdkexamples
would work too :)
.github/workflows/build.yml
Outdated
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go-version: ['1.23'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to pin this, or can/should we default to "latest" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could do latest, add multiple versions of Go to the matrix, also give a server range if we wanted, per https://github.com/actions/setup-go (eg >=1.23
). But agree this can be a follow-up PR, and can revisit this whenever we feel the check should have more specific requirements. Mainly this PR helps make sure these SDK examples continue to build properly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It contains these changes plus the requested changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had one approval and I didn't want to reset that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved those changes to this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, there could be some minor improvements. Nothing that can't be deferred to another PR.
Signed-off-by: Terry Howe <[email protected]>
e3a3bd0
to
5b7c526
Compare
Signed-off-by: Terry Howe <[email protected]>
5b7c526
to
d9aa321
Compare
Add a build test for sdkexamples