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

Deal with warnings caused by outdated actions in workflows #1086

Merged
merged 7 commits into from
Mar 14, 2023
Merged

Deal with warnings caused by outdated actions in workflows #1086

merged 7 commits into from
Mar 14, 2023

Conversation

zedifen
Copy link
Contributor

@zedifen zedifen commented Jan 14, 2023

Currently the workflow is using actions/checkout@v2, which is outdated and generates warnings in workflow logs. This PR upgrade actions/checkout to the latest v3.

There are also two actions actions-rs/toolchain and actions-rs/clippy-check from actions-rs in use, which is also outdated and haven't been updated in years.

This PR replaces actions-rs/toolchain with bare rustup commands, since rustup is included in GitHub Actions runner images (see actions/runner-images).

However there seems to be no easy way for replacing actions-rs/clippy-check. So, I'm marking this a draft PR and open for further discussions.

@zedifen zedifen marked this pull request as ready for review January 21, 2023 22:15
@zedifen zedifen changed the title Deal with "deprecated 'set-output'" warings Deal with warnings caused by outdated actions in workflows Jan 23, 2023
zedifen added 7 commits March 13, 2023 22:54
Replaces 'actions-rs/toolchain' with bare `rustup` command, since this action haven't been updated in 2 years and `rustup` is included in GitHub Action's runner images.

See: https://github.com/actions/runner-images
Use 'kristof-mattei/clippy-check@main'.
@zonyitoo zonyitoo merged commit fdeb0f8 into shadowsocks:master Mar 14, 2023
@zedifen zedifen deleted the fix-set-output branch June 21, 2023 16:10
@zedifen zedifen restored the fix-set-output branch June 21, 2023 16:10
@zedifen zedifen deleted the fix-set-output branch June 21, 2023 16:11
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.

2 participants