Add Rust/SQLx examples to connectors sync workflow#774
Merged
Conversation
Sync src/ and tests/ from the rust/sqlx connector examples into the samples repo, excluding README.md from src/.
There was a problem hiding this comment.
Pull request overview
Adds Rust/SQLx example synchronization to the existing “sync examples from connectors” GitHub Actions workflow, bringing Rust samples into the same automated update process as the other language examples.
Changes:
- Add
rsyncsteps to sync Rust/SQLxsrc/andtests/from the connectors mono-repo. - Exclude
README.mdfrom the Rustsrc/sync.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| run: | | ||
| rsync -av --delete --exclude='README.md' /tmp/connectors/rust/sqlx/example/src/ rust/sqlx/src/ | ||
| rsync -av --delete /tmp/connectors/rust/sqlx/example/tests/ rust/sqlx/tests/ | ||
|
|
There was a problem hiding this comment.
Line contains trailing whitespace after the Rust sync step; please remove it to keep the workflow file clean and avoid whitespace-sensitive linting failures.
Suggested change
amaksimo
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Added rsync steps for Rust/SQLx connector examples (src/ and tests/) to the sync workflow, excluding README.md from src/ syncs. No import path rewriting needed since Rust uses crate names rather than file paths.
Issue #, if available:
N/A
Description of changes:
Added Rust/SQLx example sync to
sync-from-connectors.yml.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.