Skip to content

Conversation

phil-opp
Copy link
Member

The actions-rs/cargo action causes a deprecation warning because it still uses node 12. The maintainers did not react to the corresponding issue at actions-rs/cargo#216 yet and it is not clear if this action is maintained anymore. For this reason, we replace the problem matcher with the r7kamura/rust-problem-matchers action and run cargo with a simple run command.

We also update the cargo check command to run with --all-targets and --all, which are the arguments that rust-analyzer uses by default. This way, we can ensure that the project works well with editors such as VSCode.

Additionally, this PR sets up a cache action that hopefully speeds up our CI runs a bit.

Base automatically changed from next to main November 13, 2022 20:06
@phil-opp phil-opp merged commit 3649e82 into main Nov 13, 2022
@phil-opp phil-opp deleted the ci branch November 13, 2022 21:13
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.

1 participant