Skip to content

Commit

Permalink
add oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
duje-begonja-rdx committed Feb 1, 2024
1 parent 98d73da commit c6da97c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ name: Benchmark PR
on:
pull_request:
# Run on PR against any branch
pull_request_target:

concurrency:
group: benchmark-comparison-${{ github.ref }}
cancel-in-progress: true

jobs:
benchmark:
if: ${{ github.event_name == 'pull_request' }}
name: Run bench
runs-on: ubuntu-latest-16-cores
steps:
Expand All @@ -22,3 +24,21 @@ jobs:
- uses: radixdlt/criterion-compare-action@update-same-commit
with:
branchName: ${{ github.base_ref }}

benchmark_fork:
permissions:
pull-requests: write
if: ${{ github.event_name == 'pull_request_target' }}
environment: "benchmark-prs-forked"
name: Run bench forked
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Add wasm target
run: rustup target add wasm32-unknown-unknown
- uses: radixdlt/criterion-compare-action@update-same-commit
with:
branchName: ${{ github.base_ref }}

0 comments on commit c6da97c

Please sign in to comment.