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

GitHub actions #9

Merged
merged 1 commit into from
Jul 10, 2024
Merged

GitHub actions #9

merged 1 commit into from
Jul 10, 2024

Conversation

okashansky-mdsol
Copy link
Contributor

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.

@okashansky-mdsol
Copy link
Contributor Author

@jcarres-mdsol @ykitamura-mdsol, please review.


jobs:
build:
runs-on: [ ubuntu-latest ]
Copy link
Contributor

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?

Suggested change
runs-on: [ ubuntu-latest ]
runs-on: [ self-hosted, ubuntu-latest ]

Copy link
Contributor Author

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 ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
runs-on: [ ubuntu-latest ]
runs-on: [ self-hosted, ubuntu-latest ]

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 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.

Copy link
Contributor

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 ./...
Copy link
Contributor

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 😉

@ykitamura-mdsol ykitamura-mdsol merged commit a1bfc8d into main Jul 10, 2024
2 checks passed
@ykitamura-mdsol ykitamura-mdsol deleted the feature/gha branch July 10, 2024 04:09
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.

2 participants