Skip to content

update description

update description #50

Workflow file for this run

name: Update Benchmarks
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
push:
branches:
- main
jobs:
run_benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
- name: Install the latest versions of each library
run: go get -u ./... && go mod tidy
- name: Install gobenchdata
run: go install go.bobheadxi.dev/gobenchdata@latest
- name: Benchmark Go Logging Libraries
run: go test -bench . -benchmem ./... | gobenchdata --json bench.json
- name: Commit benchmark results to repo
uses: EndBug/add-and-commit@v9
with:
message: Update benchmark results
commit: '--no-verify'
update_report:
runs-on: ubuntu-latest
needs: run_tests

Check failure on line 41 in .github/workflows/benchmarks.yml

View workflow run for this annotation

GitHub Actions / Update Benchmarks

Invalid workflow file

The workflow is not valid. .github/workflows/benchmarks.yml (Line: 41, Col: 12): Job 'update_report' depends on unknown job 'run_tests'.
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Change directory
run: cd docs
- name: Bundle
run: npm run build:prod
- name: Commit benchmark results to repo
uses: EndBug/add-and-commit@v9
with:
message: Update benchmark report
commit: '--no-verify'