Skip to content

Commit

Permalink
ci: update python/Cargo.log on version bump (#3207)
Browse files Browse the repository at this point in the history
When we create the version bump commit it currently updates the lock
file `Cargo.lock` to point to the new versions. I suspect it is the
`cargo ws version --no-git-commit -y --exact --force 'lance*' ${{
inputs.part }}` command that does this. However, we have two lock files,
and `python/Cargo.lock` is not updated. This PR adds a step to the
version bump to also update `python/Cargo.lock`.
  • Loading branch information
westonpace authored Dec 6, 2024
1 parent e4ab9a8 commit 0e35ef6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/bump-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ runs:
run: |
cargo install cargo-workspaces --version 0.2.44
cargo ws version --no-git-commit -y --exact --force 'lance*' ${{ inputs.part }}
- name: Update python lockfile
working-directory: python
shell: bash
run: |
cargo update -p lance
- name: Bump java version
working-directory: java
shell: bash
Expand Down

0 comments on commit 0e35ef6

Please sign in to comment.