-
Notifications
You must be signed in to change notification settings - Fork 0
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
GitHub actions #9
Conversation
@jcarres-mdsol @ykitamura-mdsol, please review. |
|
||
jobs: | ||
build: | ||
runs-on: [ ubuntu-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.
not running on self-hosted
?
runs-on: [ ubuntu-latest ] | |
runs-on: [ self-hosted, ubuntu-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.
please see my answer below
|
||
jobs: | ||
verify: | ||
runs-on: [ ubuntu-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.
runs-on: [ ubuntu-latest ] | |
runs-on: [ self-hosted, ubuntu-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.
I intentionally did it. The repository is public, so sooner or later, third-party participants' code can be run here. I don't think their GitHub Actions should be allowed to run in our cloud.
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.
Oh, public! 👍
args: --verbose --concurrency=2 --timeout=600s | ||
|
||
- name: Test with the Go CLI | ||
run: go test -v ./... |
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 are no test files (yet) but I'm sure you have a plan to add them 😉
This PR contains two GHA workflows:
ci
, which runs lint/test/build on push;build_artifact
, which builds new binary on new tags/releases (it is expected that the artifact will be attached to the release.