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

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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 added 5 commits November 18, 2024 07:35
We no longer need to build new tacd versions on nanbield,
so we can drop the check.

We do however need to build on the new styhead yocto release,
so add a check for its rust version.

Signed-off-by: Leonard Göhrs <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@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
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