Skip to content

workflows: Post benchmark results on PRs #84

workflows: Post benchmark results on PRs

workflows: Post benchmark results on PRs #84

Workflow file for this run

name: main
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
GO_VERSION: 1.21.3
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: test
run: |
make test
- name: test-race
run: |
make test-race
- name: bench
run: |
make bench 2>&1 | tee bench.out
- name: post results

Check failure on line 33 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: results
filePath: bench.out