Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
workflows
I've added a total of five files, maybe some of which you don't need, but I'll give you a choice, three of which are related to workflows, so let's talk about the remaining two files first.
FUNDING.yml
Used to define sponsorship options for the GitHub repository so that project maintainers can accept and manage sponsorship, donation, and sponsor information. The existence of this file allows project maintainers to display a "Sponsor" button on the home page of their repository
stale.yml
stale file is typically used to configure the "stale" behavior in GitHub repositories, to automatically mark and handle long-unupdated questions (issues) and pull requests (PRs). This is useful for repositories in large open source projects or team collaboration to automatically identify and handle problems or PRs that have not been active for a long time to keep the repository clean and orderly.
Next, there are three files for the process of configuring workflow
code-spell-check.yaml
The code-spell-check.yaml file is an GitHub Actions workflow configuration file that performs code spelling checking. Specifically, it is used to detect spelling errors in code files and generate relevant warnings or reports to help developers improve code quality.
coverage.yaml
The coverage.yaml file is an GitHub Actions workflow configuration file that performs code coverage checks. Specifically, it is used to measure test coverage in the code base to help developers understand how much their code has been tested.
Next is the more important link for us,
cargo test
.rust-test.yaml
Mainly used to perform continuous integration (CI,Continuous Integration) tasks for Rust projects
I hope these will help your project. I didn't test locally because it seemed troublesome, so there might be some problems, but I tried to avoid mistakes. @phoenix-ru