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

Add github action that builds project #289

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Add github action that builds project #289

merged 1 commit into from
Jun 10, 2022

Conversation

carolynvs
Copy link
Contributor

@carolynvs carolynvs commented Jun 10, 2022

I've converted our Azure DevOps Pipeline to a GitHub Workflow. I split out calling each target so that it's easier to find which step failed and repeat just failing steps in the build.

This is using the newer setup-go github action that has built in support for detecting which version of go to use based on the go.mod file and also caching downloaded go mods to speed up subsequent builds.

I've found that the github actions build much more quickly than pipelines and are easier for non-MSFT people to manage. Due to a quirk in how DevOps authenticates users, it was only this week that I was able to get my personal account to be able to log into DevOps to do things like re-try failed builds.

What do you think about adding this, seeing how it compares to our current pipeline (i.e. they both fail/pass for the same commits correctly), and then switching over completely?

I've converted our Azure DevOps Pipeline to a GitHub Workflow.
I split out calling each target so that it's easier to find which step
failed and repeat just failing steps in the build.

This is using the newer setup-go github action that has built in support
for detecting which version of go to use based on the go.mod file and
also caching downloaded go mods to speed up subsequent builds.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs requested review from jlegrone and vdice June 10, 2022 17:35
@carolynvs carolynvs marked this pull request as ready for review June 10, 2022 17:35
Copy link
Member

@vdice vdice left a comment

Choose a reason for hiding this comment

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

I'm definitely in support of at least comparing them and do ultimately favor GH Actions for this repo. LGTM.

@carolynvs carolynvs merged commit 91140cb into main Jun 10, 2022
@carolynvs carolynvs deleted the gh-actions branch June 10, 2022 18:14
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.

None yet

2 participants