Skip to content

Commit 33e0de1

Browse files
authored
ci: skip the native builds when refreshing release lockfiles (#1540)
* ci: skip the native builds when refreshing release lockfiles The lockfile refresh step synced every package, which compiled sqlbuild and sqlbuild-cli (about 15 minutes) on each regeneration of the release pull request before its checks could start. Skip installing those two packages, as the Verify jobs already do; the lock checks are unchanged. * ci: say the lockfile refresh sync covers this platform's packages
1 parent 1dce3d9 commit 33e0de1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/release-please.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,15 @@ jobs:
119119
RELEASE_BRANCH: ${{ steps.release_branch.outputs.name }}
120120
# Release Please only bumps the sqlbuild-cli and sqlbuild-python crate versions, so updating
121121
# the workspace entries of Cargo.lock is enough and needs no compile; metadata --locked
122-
# proves the lock is complete.
122+
# proves the lock is complete. The sync proves every locked third-party package for this
123+
# platform installs; it skips sqlbuild and sqlbuild-cli, which would compile both native
124+
# packages (~15 min).
123125
run: |
124126
cargo update --workspace
125127
cargo metadata --locked --format-version 1 > /dev/null
126128
uv lock --python 3.12
127-
uv sync --locked --all-groups --all-extras --python 3.12
129+
uv sync --locked --all-groups --all-extras --python 3.12 \
130+
--no-install-package sqlbuild --no-install-package sqlbuild-cli
128131
if git diff --quiet -- Cargo.lock uv.lock; then
129132
exit 0
130133
fi

0 commit comments

Comments
 (0)