-
Notifications
You must be signed in to change notification settings - Fork 64
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
Bump up github actions for typescript model generation workflow #1343
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1343 +/- ##
=======================================
Coverage 35.75% 35.75%
=======================================
Files 52 52
Lines 6696 6696
=======================================
Hits 2394 2394
Misses 4158 4158
Partials 144 144 ☔ View full report in Codecov by Sentry. |
As cc @amisevsk (I've re-requested a review as the PR has been updated) |
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 wanted only to fix the typescript part as it was mentioned as a blocker. But yeap, I think I can dig a little bit an check the coverage too. |
@rm3l I've bumped up the I'd say that bumping up to |
I've updated the description of the PR with information about the coverage report fix and instructions on how to test it locally :) |
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.
Added a few comments.
Signed-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]>
Signed-off-by: thepetk <[email protected]> Co-authored-by: Armel Soro <[email protected]> Signed-off-by: thepetk <[email protected]>
@rm3l I've added the suggested changes :) |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: amisevsk, rm3l, thepetk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What does this PR do?
This PR bumps up & pins to their latest version the following github actions:
actions/setup-python
py-actions/py-dependency-install
actions/setup-node
This can be a potential fix to the currently failing action of
release-typescript-models.yaml
workflow, as it updates the version of node used from 12 to 16 and now theyarn build
command will not have theinvalid version error
. More info about its trace here: https://github.com/devfile/api/actions/runs/6800556156/job/18489362645Finally the PR fixes the
codecov
workflow failure (can be found here) by updating thesetup-go
action inside the code coverage workflow to usego 1.18
exactly like we do inci.yaml
.Which issue(s) does this PR fix
fixes #1232
PR acceptance criteria
Testing and documentation do not need to be complete in order for this PR to be approved. We just need to ensure tracking issues are opened.
Unit/Functional tests
QE Integration test
Documentation
Client Impact
How to test changes / Special notes to the reviewer
The
release-typescript-models
workflow has been tested here: https://github.com/thepetk/devfile-api/actions/runs/6814583173/job/18531772679Another way to reproduce locally the error and to see the suggested workaround:
Using node 12 (current status)
Using node 18
Regarding the code coverage report you can test locally by using
goenv
:go version 1.17
go version 1.18