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

Use actions/setup-go for unit-test workflow #1381

Merged
merged 2 commits into from
Nov 22, 2023
Merged

Use actions/setup-go for unit-test workflow #1381

merged 2 commits into from
Nov 22, 2023

Conversation

chenbh
Copy link
Contributor

@chenbh chenbh commented Nov 21, 2023

We were relying on the go toolchain available inside the runner image which is 1.20 or something. Instead we should use the setup-go action which should have the latest version of the toolchain (1.21).

i think we were relying on the go toolchain available inside the runner
image, which could be out of date. Instead we should use the setup-go
action which should have the latest version of the toolchain

Signed-off-by: Bohan Chen <[email protected]>
@chenbh chenbh requested a review from a team as a code owner November 21, 2023 20:52
otherwise it'll use the system toolchain to run report.go, which will
fail when it encounters the new `toolchain` directive in the root go.mod

Signed-off-by: Bohan Chen <[email protected]>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6689bb6) 67.17% compared to head (f2ba2f8) 67.17%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1381   +/-   ##
=======================================
  Coverage   67.17%   67.17%           
=======================================
  Files         134      134           
  Lines        8276     8276           
=======================================
  Hits         5559     5559           
  Misses       2264     2264           
  Partials      453      453           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chenbh chenbh merged commit 7e9eaac into main Nov 22, 2023
3 checks passed
@chenbh chenbh deleted the gha-unit-setup-go branch November 22, 2023 15:20
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