Skip to content

ci: tacd: remove dependencies on actions-rs GitHub actions #83

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

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

hnez
Copy link
Member

@hnez hnez commented Nov 15, 2024

The actions-rs project is no longer maintained and our workflow runs have produced a lot of warnings due to that for some time now.

Remove our dependency on it by calling rustup and cargo ourselves. This also makes the CI scripts easier to read in my opinion and easier to reproduce locally since you can just run the same commands as the CI does.

@hnez hnez force-pushed the remove-actions-rs branch from a385702 to ffbe080 Compare November 15, 2024 09:23
@hnez
Copy link
Member Author

hnez commented Nov 15, 2024

The failed cargo deny run is expected and already happened prior to this PR.
It will be fixed by #84.

@hnez hnez requested a review from KarlK90 November 15, 2024 09:28
@hnez hnez force-pushed the remove-actions-rs branch from ffbe080 to 8d5da67 Compare November 18, 2024 06:41
@hnez hnez mentioned this pull request Nov 18, 2024
1 task
hnez added 4 commits January 6, 2025 07:15
The actions-rs GitHub actions are no longer being maintained and started
producing warnings on every run some time ago.

Since rustup comes pre-installed on the default action runner images
we can use it directly to install our toolchain.
The current stable channel rust version is also likely already installed
on the machine.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
The actions-rs GitHub actions are no longer being maintained and started
producing warnings on every run some time ago.

We can just call `cargo` ourself instead of relying on an action to do it
for us.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
The actions-rs GitHub actions are no longer being maintained and started
producing warnings on every run some time ago.

We can just call `cargo clippy` ourself instead of relying on an action
to do it for us.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Other than the actions-rs actions the cargo-deny action is actually
actively maintained, but replacing it with a simple `cargo deny` call
removes our last non-GitHub provided action dependency and makes it a bit
easier to determine what is actually happening in the action,
should one e.g. want to reproduce it locally.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
@hnez hnez force-pushed the remove-actions-rs branch from 8d5da67 to ee5ff4f Compare January 6, 2025 06:15
@hnez hnez merged commit 7751ca9 into linux-automation:main Jan 6, 2025
11 checks passed
@hnez hnez deleted the remove-actions-rs branch January 6, 2025 06:54
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