-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update GitHub workflow actions #94
Conversation
@Marcono1234 - thanks for the PR!
Certainly, feel free to do it on this PR or a follow-on, up to you 🙂
Thank you for mentioning that. Would you be willing to open a PR to add the |
@@ -94,8 +88,6 @@ ignore = [ | |||
# More documentation for the licenses section can be found here: | |||
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html | |||
[licenses] | |||
# The lint level for crates which do not have a detectable license | |||
unlicensed = "deny" | |||
# List of explicitly allowed licenses | |||
# See https://spdx.org/licenses/ for list of possible licenses | |||
# [possible values: any SPDX 3.11 short identifier (+ optional exception)]. |
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.
If I see it correctly, the licenses.allow
here was the only thing you manually changed from https://github.com/EmbarkStudios/cargo-deny/blob/0.14.4/deny.template.toml#L102-L106 (?). So I kept those manual changes.
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.
Yes, that's correct. I wanted to keep the allow list explicit so it can be expanded as needed.
github = [""] | ||
github = [] | ||
# 1 or more gitlab.com organizations to allow git sources for | ||
gitlab = [""] | ||
gitlab = [] | ||
# 1 or more bitbucket.org organizations to allow git sources for | ||
bitbucket = [""] | ||
bitbucket = [] |
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.
# Based on https://github.com/EmbarkStudios/cargo-deny/blob/0.16.0/deny.template.toml | ||
# (diff with that version to see what has been manually changed here) |
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 took everything from that template, except for the manual changes mentioned by my other GitHub comments.
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.
This looks good - thanks @Marcono1234 🚀
@@ -94,8 +88,6 @@ ignore = [ | |||
# More documentation for the licenses section can be found here: | |||
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html | |||
[licenses] | |||
# The lint level for crates which do not have a detectable license | |||
unlicensed = "deny" | |||
# List of explicitly allowed licenses | |||
# See https://spdx.org/licenses/ for list of possible licenses | |||
# [possible values: any SPDX 3.11 short identifier (+ optional exception)]. |
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.
Yes, that's correct. I wanted to keep the allow list explicit so it can be expanded as needed.
checkout@v3
is outdated and currently shows the following warning for your workflow runs:There is also a new version for cargo-deny-action: v2.0.0
Should I update that as well? And update
deny.toml
to match the current template?As side note: You can configure Dependabot to automatically create PRs for updating the used actions.