Skip to content

Commit

Permalink
feat: update PerformancePush config (casbin#1403)
Browse files Browse the repository at this point in the history
* feat: update PerformancePush config

* feat: update PerformancePush config
  • Loading branch information
MuZhou233 authored Jun 7, 2024
1 parent f8fc84e commit a29d8a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/PerformancePush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
name: Performance regression check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
# Run benchmark with `go test -bench` and stores the output to a file
- name: Run benchmark
run: go test -bench '.' -benchmem ./... | tee output.txt
run: go test -bench '.' -benchtime=2s -benchmem ./... | tee output.txt
# Run `github-action-benchmark` action
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
Expand Down

0 comments on commit a29d8a8

Please sign in to comment.