Skip to content
Open
Changes from all commits
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
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
frameworks: ${{ steps.matrix.outputs.frameworks }}
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7

Check warning on line 42 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:42: action's hash pin has mismatched or missing version comment: points to commit 3d3c42e5aac5
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 47 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:47: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: '22'
cache: 'npm'
Expand Down Expand Up @@ -102,7 +102,7 @@
framework: ${{ fromJSON(needs.setup.outputs.frameworks) }}
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7

Check warning on line 105 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:105: action's hash pin has mismatched or missing version comment: points to commit 3d3c42e5aac5
with:
persist-credentials: false

Expand All @@ -117,7 +117,7 @@
run: pip install -r scripts/requirements.txt

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 120 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:120: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: '22'

Expand Down Expand Up @@ -199,7 +199,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7

Check warning on line 202 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:202: action's hash pin has mismatched or missing version comment: points to commit 3d3c42e5aac5
with:
persist-credentials: false

Expand All @@ -214,7 +214,7 @@
run: pip install -r scripts/requirements.txt

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6

Check warning on line 217 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:217: action's hash pin has mismatched or missing version comment: points to commit 249970729cb0
with:
node-version: '22'

Expand All @@ -236,6 +236,22 @@
npm ci
python scripts/setup/main.py --skip-build

# Scheduled benchmark runs always publish to the `results` branch, but only
# commit to main when manually dispatched with commit_to_main=true. The site
# is built from main, so without this it renders whatever snapshot happened to
# be committed last - omitting every framework added since.
- name: Sync latest benchmark results
run: |
if git fetch --depth=1 origin results 2>/dev/null \
&& git show FETCH_HEAD:summary/summary.json > /tmp/summary.json 2>/dev/null \
&& python -c "import json; json.load(open('/tmp/summary.json'))" 2>/dev/null; then
mv /tmp/summary.json results/summary.json
echo "✅ Synced benchmark results from the results branch"
python -c "import json; d = json.load(open('results/summary.json')); print(' generated:', d.get('metadata', {}).get('generated_at', 'unknown')); print(' frameworks:', ', '.join(sorted(d.get('frameworks', {}))))"
else
echo "::warning::Could not read summary/summary.json from the results branch - building with the committed results/summary.json, which may be out of date"
fi

- name: Build all frameworks and generate website
run: |
echo "Building all frameworks for comparison website..."
Expand All @@ -257,7 +273,7 @@
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7

Check warning on line 276 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:276: action's hash pin has mismatched or missing version comment: points to commit 3d3c42e5aac5
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -327,7 +343,7 @@
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7

Check warning on line 346 in .github/workflows/build.yml

View workflow job for this annotation

GitHub Actions / 🛠️ Workflow Audit

ref-version-mismatch

build.yml:346: action's hash pin has mismatched or missing version comment: points to commit 3d3c42e5aac5
with:
fetch-depth: 0
persist-credentials: false
Expand Down
Loading