Skip to content

Update Cargo.lock in examples/ #214

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

Merged
merged 2 commits into from
May 31, 2025
Merged

Update Cargo.lock in examples/ #214

merged 2 commits into from
May 31, 2025

Conversation

termoshtt
Copy link
Member

No description provided.

@termoshtt termoshtt self-assigned this May 31, 2025
@termoshtt termoshtt requested a review from Copilot May 31, 2025 17:08
@termoshtt termoshtt marked this pull request as ready for review May 31, 2025 17:08
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the Cargo.lock generation process by adding a "generate-lockfile" task across various example directories and integrating it into the root Taskfile and release workflow.

  • Added a "generate-lockfile" task in each Taskfile.yml under examples/ directories.
  • Updated the root Taskfile.yml to aggregate the lockfile generation tasks.
  • Modified the GitHub Actions release workflow to run the lockfile generation.

Reviewed Changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
examples/pure_abi3/Taskfile.yml Added a generate-lockfile task invoking "cargo generate-lockfile".
examples/pure/Taskfile.yml Added a generate-lockfile task invoking "cargo generate-lockfile".
examples/mixed_sub_multiple/Taskfile.yml Added a generate-lockfile task invoking "cargo generate-lockfile".
examples/mixed_sub/Taskfile.yml Added a generate-lockfile task invoking "cargo generate-lockfile".
examples/mixed/Taskfile.yml Added a generate-lockfile task invoking "cargo generate-lockfile".
Taskfile.yml Integrated locks generation by aggregating tasks from subdirectories.
.github/workflows/release.yml Updated the release workflow to include a step for updating Cargo.lock.

@@ -28,6 +28,14 @@ tasks:
- task: mixed_sub:stub-gen
- task: mixed_sub_multiple:stub-gen

generate-lockfile:
Copy link
Preview

Copilot AI May 31, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider adding a description (e.g., 'desc: Generate lockfile') to the aggregated generate-lockfile task for improved clarity and documentation.

Copilot uses AI. Check for mistakes.

@termoshtt termoshtt merged commit 5e772fe into main May 31, 2025
16 checks passed
@termoshtt termoshtt deleted the generate-lockfile branch May 31, 2025 17:09
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