Skip to content

Update benchmark deps to v0.26.9 #218

Update benchmark deps to v0.26.9

Update benchmark deps to v0.26.9 #218

name: "benchmark_archive"
on:
pull_request:
types:
- "closed"
permissions: {}
jobs:
archive:
runs-on: "ubuntu-24.04" # _SLANG_DEV_CONTAINER_BASE_IMAGE_ (keep in sync)
permissions:
contents: "read"
# Only run for same-repo PRs (fork PRs never created bencher branches):
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
with:
persist-credentials: false
fetch-depth: 0 # Full history is needed by 'git/restore-mtime' to find each file's last commit time.
- name: "Free up disk space"
uses: "./.github/actions/free-disk-space"
- name: "Restore file mtimes from git"
uses: "./.github/actions/git/restore-mtime"
- name: "Restore Dependencies Cache"
uses: "./.github/actions/cache/dependencies/restore"
- name: "Restore Cargo Target Cache"
uses: "./.github/actions/cache/cargo-target/restore"
- name: "infra setup cargo"
run: "./scripts/bin/infra setup cargo"
- name: "infra perf archive"
continue-on-error: true
env:
BENCHER_API_TOKEN: "${{ secrets.BENCHER_API_TOKEN }}"
run: "./scripts/bin/infra perf archive --branch ${{ github.head_ref }}"