Skip to content

Commit 627de89

Browse files
authored
ci: use self-hosted runners (#264)
1 parent 5d0df70 commit 627de89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
ci-benchmarks:
17-
runs-on: ubuntu-latest
17+
runs-on: self-hosted
1818
steps:
1919
- name: Checkout repository
2020
uses: actions/checkout@v5
@@ -29,7 +29,7 @@ jobs:
2929
shell: bash
3030
run: |
3131
COUNT=$([[ "${{ github.event_name }}" == "pull_request" ]] && echo 1 || echo 5)
32-
LOG_LEVEL=FATAL go test -run='$^' -count=$COUNT -bench=. -benchmem ./... | tee ${{ runner.temp }}/gotool.txt
32+
LOG_LEVEL=FATAL GOMAXPROCS=4 go test -run='$^' -count=$COUNT -bench=. -benchmem ./... | tee ${{ runner.temp }}/gotool.txt
3333
3434
# Add GitHub job summary for pull requests.
3535
- name: Summarize benchmarks results

0 commit comments

Comments
 (0)