-
Notifications
You must be signed in to change notification settings - Fork 231
Fixup workflow so it runs cargo fmts in the sub directories. #122
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
Conversation
| - 'sdk/rust/**' | ||
| - 'samples/rust/**' | ||
| branches: | ||
| - main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add your branch name?
Or, you must resolve the conflicts first. Now your PR has conflicts:
This branch has conflicts that must be resolved
So no PR pipeline can run.
.github/workflows/rustfmt.yml
Outdated
| working-directory: sdk/rust | ||
| run: cargo fmt --all -- --check | ||
| - name: Check Samples | ||
| working-directory: samples |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this say samples/rust ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes indeed!
|
Found a fmt issue, so it's working! Will fix the issues and push an update. |
…microsoft/Foundry-Local into user/chendrixson/rust-workflows
|
Everything looking good with the workflow, merging! |
Chose to add a cargo.toml file in the samples directory and cargo fmt in both places rather than having a top level cargo.toml workspace file. Better to keep the root cleaner.