Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TerryHowe
Copy link
Contributor

Add a build test for sdkexamples

Copy link
Member

@scottrigby scottrigby left a 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 👍

@TerryHowe
Copy link
Contributor Author

Can you also add sdkexamples/sdkexamples to .gitignore for good measure?

Added

Makefile Outdated Show resolved Hide resolved
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
Copy link
Member

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 :)

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.23']
Copy link
Member

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" ?

Copy link
Member

@scottrigby scottrigby Jan 28, 2025

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

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

Copy link
Contributor Author

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

Copy link
Contributor Author

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

Copy link
Member

@gjenkins8 gjenkins8 left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants