Files
releases/.github/workflows/run-benchmarks.yaml
T
dependabot[bot] a440330ea7 build(deps): bump the gha-dependencies group with 3 updates
Bumps the gha-dependencies group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action](https://github.com/github/codeql-action) and [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action).


Updates `actions/checkout` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10)

Updates `github/codeql-action` from 4.36.0 to 4.36.1
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/7211b7c8077ea37d8641b6271f6a365a22a5fbfa...87557b9c84dde89fdd9b10e88954ac2f4248e463)

Updates `docker/setup-qemu-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/ce360397dd3f832beb865e1373c09c0e9f86d70a...06116385d9baf250c9f4dcb4858b16962ea869c3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-dependencies
- dependency-name: github/codeql-action
  dependency-version: 4.36.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gha-dependencies
- dependency-name: docker/setup-qemu-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gha-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-10 11:21:39 +02:00

40 lines
1.2 KiB
YAML

name: Run Benchmarks
on:
workflow_call:
inputs:
publish:
description: Whether to publish benchmark results
required: true
type: boolean
publish_branch:
description: Branch to publish results to
required: false
type: string
default: ''
jobs:
benchmarks:
name: Benchmarks
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
path: opa
persist-credentials: false
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: opa/.go-version
cache-dependency-path: opa/go.sum
- name: Run benchmarks
run: go run go.bobheadxi.dev/gobenchdata@v1 action
env:
INPUT_GO_TEST_FLAGS: "-tags=opa_wasm -timeout=120m -run=^#"
INPUT_GO_TEST_PKGS: ./...
INPUT_SUBDIRECTORY: opa
INPUT_PUBLISH: ${{ inputs.publish }}
INPUT_PUBLISH_BRANCH: ${{ inputs.publish_branch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 120