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
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.

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]>
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