Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ci): skip apt install on EX63 when jq and tomli are present

oxoxDevdc2b6f63a11b
diff --git a/.github/workflows/ci-lanes.yml b/.github/workflows/ci-lanes.yml
index 25c02859f2..871121f6b3 100644
--- a/.github/workflows/ci-lanes.yml
+++ b/.github/workflows/ci-lanes.yml
@@ -81,8 +81,12 @@ jobs:
- name: Install jq for release-script tests
if: steps.filter.outputs.scripts == 'true'
run: |
- apt-get update
- apt-get install -y --no-install-recommends jq python3-tomli
+ if command -v jq >/dev/null && python3 -c 'import tomli' 2>/dev/null; then
+ exit 0
+ fi
+ SUDO=$([ "$(id -u)" -eq 0 ] || echo sudo)
+ $SUDO apt-get update
+ $SUDO apt-get install -y --no-install-recommends jq python3-tomli
# One step per lane: `Start lanes` launches every lane in the background
# (they still run in parallel); each `Lane:` step streams its own lane's