Skip to content

Commit 247e601

Browse files
authored
ci: benchmark (#135)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent c637ca7 commit 247e601

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/benchmark.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: benchmark
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
branches:
8+
- main
9+
pull_request:
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
benchmark:
16+
name: benchmark
17+
strategy:
18+
matrix:
19+
go-version: [1.24.x]
20+
platform: [ubuntu-latest]
21+
runs-on: ${{ matrix.platform }}
22+
steps:
23+
- uses: actions/checkout@v5
24+
with:
25+
submodules: true
26+
- uses: actions/setup-go@v6
27+
with:
28+
go-version: ${{ matrix.go-version }}
29+
- name: benchmark
30+
run: make bench

.github/workflows/go-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
with:
2828
go-version: ${{ matrix.go-version }}
2929
- name: go-test
30-
run: go test ./...
30+
run: make test

0 commit comments

Comments
 (0)