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

Introduce GitHub Actions workflow for linting and building #1

Merged
merged 3 commits into from
Mar 3, 2024
Merged

Conversation

kikuomax
Copy link
Member

@kikuomax kikuomax commented Mar 3, 2024

  • Introduces a GitHub Actions workflow that runs rustfmt and cargo test when commits are pushed, or a PR is made to main branch

`.github/workflows/build.yml` runs `rustfmt` and `cargo test` when
commits are pushed to the repository, or a PR is made to `main` branch.
Fixes the error that `os` variable in the strategy matrix was a single
value while an array was expected.
Removes `--locked` option from `cargo test` because `Cargo.lock` is not
pushed to the repository for now.
@kikuomax kikuomax self-assigned this Mar 3, 2024
Copy link
Member Author

@kikuomax kikuomax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have self-reviewed the changes.

@kikuomax kikuomax merged commit 8245639 into main Mar 3, 2024
6 checks passed
@kikuomax kikuomax deleted the gha branch March 3, 2024 22:50
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