Skip to content

Commit

Permalink
Merge pull request casbin#251 from smrpn/original
Browse files Browse the repository at this point in the history
add github actions for benchmark
  • Loading branch information
hackerchai authored Apr 11, 2021
2 parents 080632d + 9949d22 commit 4038b89
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: [pull_request]
name: Benchmarks
jobs:
runBenchmark:
name: run benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
- name: Cache cargo
uses: actions/cache@v2.1.4
with:
path: |
target
~/.cargo/git
~/.cargo/registry
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: boa-dev/criterion-compare-action@move_to_actions
with:
cwd: benches

0 comments on commit 4038b89

Please sign in to comment.