Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-custom-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ jobs:

- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
chrome-version: 129
- run: |
Comment on lines 259 to 261

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Consider using a more flexible Chrome version specification.

Explicitly setting Chrome version to 129 might lead to version conflicts in the future. Consider using a more flexible version specification or regularly updating this value to match the latest stable version.

🧰 Tools
🪛 actionlint

261-261: shellcheck reported issue in this script: SC2086:info:1:40: Double quote to prevent globbing and word splitting

(shellcheck)

echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:

- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
chrome-version: 129
- run: |
echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-limited-with-count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ jobs:

- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
chrome-version: 129
- run: |
echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-limited.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:

- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
chrome-version: 129

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Update Chrome version to latest stable

The specified Chrome version (129) is outdated. Update to the latest stable version (130) or use "stable" for automatic updates.

chrome-version: stable

This change ensures compatibility with the current test suite and reduces manual version updates.

🔗 Analysis chain

Verify Chrome version compatibility

The Chrome version has been updated from 'stable' to a specific version '129'. Ensure this version is compatible with our current test suite and CI environment.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if Chrome 129 is the latest stable version
latest_stable=$(curl -s https://omahaproxy.appspot.com/all.json | jq -r '.[] | select(.os=="linux") | .versions[] | select(.channel=="stable") | .version' | head -n1)
if [[ "$latest_stable" == "129."* ]]; then
  echo "Chrome 129 is the latest stable version."
else
  echo "Warning: Chrome 129 is not the latest stable version. Latest stable is $latest_stable"
fi

Length of output: 405


Script:

#!/bin/bash
# Fetch and display the JSON structure from Omaha Proxy
curl -s https://omahaproxy.appspot.com/all.json | jq .

Length of output: 113


Script:

#!/bin/bash
# Fetch and display the raw JSON structure from Omaha Proxy
curl -s https://omahaproxy.appspot.com/all.json

Length of output: 173


Script:

#!/bin/bash
# Fetch and display the latest stable Chrome version from Chromium Dash
latest_stable=$(curl -s https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Linux | jq -r '.[0].version')
if [[ "$latest_stable" == "129."* ]]; then
  echo "Chrome 129 is the latest stable version."
else
  echo "Warning: Chrome 129 is not the latest stable version. Latest stable is $latest_stable"
fi

Length of output: 217191

- run: |
echo "BROWSER_PATH=$(which chrome)" >> $GITHUB_ENV

Expand Down