Skip to content

Commit 088d658

Browse files
committed
chore: set arch for goreleaser
1 parent 6166632 commit 088d658

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.github/workflows/benchmark.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
go-version: 1.16
2727
- name: Benchmark
28-
run: ./scripts/benchmark.sh
28+
run: go test -bench 'Benchmark' ./... | tee bench.txt
2929
- name: Download previous benchmark data
3030
uses: actions/cache@v1
3131
with:

.github/workflows/goreleaser.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
deployments: write
1111
# contents permission to update benchmark contents in gh-pages branch
1212
contents: write
13-
13+
1414
jobs:
1515
goreleaser:
1616
container:
@@ -30,6 +30,8 @@ jobs:
3030
uses: actions/setup-go@v2
3131
with:
3232
go-version: '1.16'
33+
- name: Install deps
34+
run: ./scripts/install-deps.sh
3335
-
3436
name: Run GoReleaser
3537
uses: goreleaser/goreleaser-action@v2

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ pkg/processor/benchmark/local/file-test
2323
coverage.txt
2424

2525
dist/
26+
bench.txt

scripts/benchmark.sh

-8
This file was deleted.

0 commit comments

Comments
 (0)