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

Upgrade to Node16 and update dependencies #4

Merged
merged 4 commits into from
Dec 5, 2022
Merged

Conversation

gbhand
Copy link
Collaborator

@gbhand gbhand commented Nov 30, 2022

Background

GitHub Actions is deprecating Node12 https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Description

This PR upgrades the action to use Node16, along with updating dependencies. In order to upgrade to Node16, error handling had to be changed from

} catch (error) {

to

} catch (error: any) {

as catch blocks now are type annotated (microsoft/TypeScript#36775)

Verification

Passes local tests

gbhand and others added 4 commits July 13, 2022 10:43
* Fixed d impossible arg conditional

* Added other conditional too

* Restored upstream formatting
* Filter out blank lines

* WIP

* WIP

* WIP

* WIP

* WIP

* Revert package.json and package-lock.json
@gbhand gbhand added the enhancement New feature or request label Nov 30, 2022
@gbhand gbhand self-assigned this Nov 30, 2022
Copy link

@joshparallel joshparallel left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link

@klimburg klimburg left a comment

Choose a reason for hiding this comment

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

looks like there is an issue when you actually used this branch in monorail

https://github.com/parallelsystems/monorail/actions/runs/3579495678

image

@gbhand
Copy link
Collaborator Author

gbhand commented Dec 5, 2022

@klimburg looks like this is unfortunately the expected behavior:
"Due to token permissions, this Action WILL NOT be able to post clippy annotations for Pull Requests from the forked repositories"

Pull requests from forks cannot create Checks due to security exposure.

Besides this error (which should no longer occur once merged to master) the rest of the output looks successful. Is that sufficient to get this merged?

@gbhand gbhand requested a review from klimburg December 5, 2022 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants