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

[JUJU-790] Add GitHub Action to run go test #55

Merged
merged 3 commits into from
Mar 22, 2022
Merged

Conversation

barrettj12
Copy link
Contributor

This PR introduces a GitHub Action which installs the version of Go specified in go.mod, then runs go test. This action will be run as CI on pushes and pull requests.

The action has been tested locally on my machine using nektos/act.

@jujubot
Copy link
Contributor

jujubot commented Mar 22, 2022

Can one of the admins verify this patch?

1 similar comment
@jujubot
Copy link
Contributor

jujubot commented Mar 22, 2022

Can one of the admins verify this patch?

@barrettj12 barrettj12 changed the title Add GitHub Action to run go test [JUJU-790] Add GitHub Action to run go test Mar 22, 2022
@barrettj12
Copy link
Contributor Author

After fixing a small typo, it also appears to succeed on GitHub.

Copy link
Member

@tlm tlm left a comment

Choose a reason for hiding this comment

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

lgtm

.github/workflows/gotest.yml Outdated Show resolved Hide resolved
@tlm tlm merged commit bbd04d0 into juju:master Mar 22, 2022
@barrettj12 barrettj12 deleted the gh-action branch March 22, 2022 22:58
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.

3 participants