From 08d1b0c3af118aa4e7d41df04a14b98596fc8fa3 Mon Sep 17 00:00:00 2001 From: Rubens Panfili Date: Mon, 30 Mar 2026 12:33:55 +0200 Subject: [PATCH] chore: bump worai to 6.17.6 --- README.md | 4 +-- action.yml | 54 ++++++++++++++++++++-------------------- docs/usage.md | 2 +- specs/action-behavior.md | 2 +- tests/install-worai.sh | 6 ++--- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index ebc85b9..0997951 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ GitHub Action to install `worai`, install Python Playwright + Chromium, and run: | `debug` | No | `false` | When truthy (`true/1/yes`), appends `--debug`. | | `log_level` | No | `warning` | Exports `WORAI_LOG_LEVEL` as `debug`, `info`, `warning`, or `error`. | | `working_directory` | No | `.` | Directory where `worai` runs. | -| `worai_version` | No | `6.16.2` | Exact `worai` version installed by the action. | +| `worai_version` | No | `6.17.6` | Exact `worai` version installed by the action. | | `install_playwright` | No | `true` | Installs Playwright Python package and browser binaries when truthy (`true/1/yes`). | | `playwright_version` | No | `1.58.0` | Exact Playwright Python package version installed when Playwright install is enabled. | | `playwright_browser` | No | `chromium` | Browser passed to `python -m playwright install`. | @@ -164,7 +164,7 @@ export WORAI_PROFILE="acme_sitemap" ## Migration from `@v1` - Replace `uses: wordlift/graph-sync@v1` with `uses: wordlift/graph-sync@v6`. -- Action `v6` defaults to installing `worai` `6.16.2`. +- Action `v6` defaults to installing `worai` `6.17.6`. ## Development diff --git a/action.yml b/action.yml index 77c7172..b4a3877 100644 --- a/action.yml +++ b/action.yml @@ -1,57 +1,57 @@ -name: 'graph-sync' -description: 'Graph Sync using worai by WordLift' -author: 'WordLift' +name: "graph-sync" +description: "Graph Sync using worai by WordLift" +author: "WordLift" branding: - icon: 'upload-cloud' - color: 'blue' + icon: "upload-cloud" + color: "blue" inputs: profile: - description: 'Profile name defined in worai config' + description: "Profile name defined in worai config" required: true config_path: - description: 'Optional path passed as --config to worai' + description: "Optional path passed as --config to worai" required: false - default: '' + default: "" debug: - description: 'Enable --debug (true/false)' + description: "Enable --debug (true/false)" required: false - default: 'false' + default: "false" log_level: - description: 'Optional WORAI_LOG_LEVEL value (debug/info/warning/error)' + description: "Optional WORAI_LOG_LEVEL value (debug/info/warning/error)" required: false - default: 'warning' + default: "warning" working_directory: - description: 'Directory where worai should run' + description: "Directory where worai should run" required: false - default: '.' + default: "." worai_version: - description: 'Pinned worai version to install' + description: "Pinned worai version to install" required: false - default: '6.16.2' + default: "6.17.6" install_playwright: - description: 'Install Playwright Python package and browser binaries (true/false)' + description: "Install Playwright Python package and browser binaries (true/false)" required: false - default: 'true' + default: "true" playwright_version: - description: 'Pinned Playwright Python package version to install' + description: "Pinned Playwright Python package version to install" required: false - default: '1.58.0' + default: "1.58.0" playwright_browser: - description: 'Playwright browser to install' + description: "Playwright browser to install" required: false - default: 'chromium' + default: "chromium" cache_enabled: - description: 'Enable dependency cache for pip and Playwright browser binaries (true/false)' + description: "Enable dependency cache for pip and Playwright browser binaries (true/false)" required: false - default: 'true' + default: "true" cache_key_suffix: - description: 'Optional cache key suffix; when empty, key is derived from worai/playwright versions and browser' + description: "Optional cache key suffix; when empty, key is derived from worai/playwright versions and browser" required: false - default: '' + default: "" runs: - using: 'composite' + using: "composite" steps: - name: Resolve cache settings id: resolve_cache diff --git a/docs/usage.md b/docs/usage.md index e25057d..44bb3e8 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -69,7 +69,7 @@ When `config_path` is not provided, `worai` discovers config in this order: ## Installer Behavior -- The action installs a pinned `worai` version via input `worai_version` (default `6.16.2`). +- The action installs a pinned `worai` version via input `worai_version` (default `6.17.6`). - The action installs Playwright by default via: - Python package input `playwright_version` (default `1.58.0`) - Browser input `playwright_browser` (default `chromium`) diff --git a/specs/action-behavior.md b/specs/action-behavior.md index 76adbdf..4adeeb7 100644 --- a/specs/action-behavior.md +++ b/specs/action-behavior.md @@ -7,7 +7,7 @@ - `debug` (optional, default `false`) - `log_level` (optional, default `warning`) - `working_directory` (optional, default `.`) -- `worai_version` (optional, default `6.16.2`) +- `worai_version` (optional, default `6.17.6`) - `install_playwright` (optional, default `true`) - `playwright_version` (optional, default `1.58.0`) - `playwright_browser` (optional, default `chromium`) diff --git a/tests/install-worai.sh b/tests/install-worai.sh index 43c71af..c5c1b08 100755 --- a/tests/install-worai.sh +++ b/tests/install-worai.sh @@ -56,17 +56,17 @@ assert_eq "1" "$code" "version with whitespace should fail" # Case 3: install with python3 rm -f "$TMP_DIR/python_calls.txt" -code=$(run_case install_python3 "${BASE_ENV[@]}" INPUT_WORAI_VERSION="6.16.2" "$SCRIPT") +code=$(run_case install_python3 "${BASE_ENV[@]}" INPUT_WORAI_VERSION="6.17.6" "$SCRIPT") assert_eq "0" "$code" "python3 install should succeed" first_call=$(sed -n '1p' "$TMP_DIR/python_calls.txt") second_call=$(sed -n '2p' "$TMP_DIR/python_calls.txt") assert_eq "-m pip install --upgrade pip" "$first_call" "first command upgrades pip" -assert_eq "-m pip install worai==6.16.2" "$second_call" "second command installs pinned worai" +assert_eq "-m pip install worai==6.17.6" "$second_call" "second command installs pinned worai" # Case 4: missing python interpreters EMPTY_BIN="$TMP_DIR/empty-bin" mkdir -p "$EMPTY_BIN" -code=$(run_case no_python /usr/bin/env PATH="$EMPTY_BIN" INPUT_WORAI_VERSION="6.16.2" /bin/bash "$SCRIPT") +code=$(run_case no_python /usr/bin/env PATH="$EMPTY_BIN" INPUT_WORAI_VERSION="6.17.6" /bin/bash "$SCRIPT") assert_eq "1" "$code" "missing python should fail" if [[ "$fail_count" -ne 0 ]]; then