Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

extension_ci: Increase timeout for extension version bump job (#48828)

Finn Eversb97a6c388673
diff --git a/.github/workflows/extension_bump.yml b/.github/workflows/extension_bump.yml
index a1f95707ea6..263b42a50a8 100644
--- a/.github/workflows/extension_bump.yml
+++ b/.github/workflows/extension_bump.yml
@@ -96,7 +96,7 @@ jobs:
--no-configured-files ${{ inputs.bump-type }} "${BUMP_FILES[@]}"
if [[ -f "Cargo.toml" ]]; then
- cargo update --workspace --offline
+ cargo update --workspace
fi
NEW_VERSION="$(sed -n 's/version = \"\(.*\)\"/\1/p' < extension.toml)"
@@ -115,7 +115,7 @@ jobs:
token: ${{ steps.generate-token.outputs.token }}
sign-commits: true
assignees: ${{ github.actor }}
- timeout-minutes: 1
+ timeout-minutes: 3
create_version_label:
needs:
- check_version_changed
diff --git a/tooling/xtask/src/tasks/workflows/extension_bump.rs b/tooling/xtask/src/tasks/workflows/extension_bump.rs
index e7a7a467388..d19ae9bdedd 100644
--- a/tooling/xtask/src/tasks/workflows/extension_bump.rs
+++ b/tooling/xtask/src/tasks/workflows/extension_bump.rs
@@ -195,7 +195,7 @@ fn bump_extension_version(
version_changed = version_changed_output.expr(),
)))
.runs_on(runners::LINUX_SMALL)
- .timeout_minutes(1u32)
+ .timeout_minutes(3u32)
.add_step(generate_token)
.add_step(steps::checkout_repo())
.add_step(install_bump_2_version())
@@ -271,7 +271,7 @@ fn bump_version(current_version: &JobOutput, bump_type: &WorkflowInput) -> (Step
--no-configured-files {bump_type} "${{BUMP_FILES[@]}}"
if [[ -f "Cargo.toml" ]]; then
- cargo update --workspace --offline
+ cargo update --workspace
fi
NEW_VERSION="$({VERSION_CHECK})"