Skip to content

CI: Set up caching and update problem matcher #282

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 6 commits into from
Nov 13, 2022
Merged

CI: Set up caching and update problem matcher #282

merged 6 commits into from
Nov 13, 2022

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant