Skip to content

Commit

Permalink
Update and rename bench-branch.yml to bench.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 authored Oct 19, 2023
1 parent 24d8b9d commit df4e002
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,25 @@ jobs:
steps:
- name: Check out base
if: github.event_name == 'pull_request'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ssh-key: ${{secrets.API_KEY}}
repo: ${{github.event.pull_request.base.repo.full_name}}
repository: ${{github.event.pull_request.base.repo.full_name}}
ref: ${{github.event.pull_request.base.ref}}
- name: Run benchmarks on base for comparison
if: github.event_name == 'pull_request'
run: cargo bench --features internal-bench

- name: Check out head
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ssh-key: ${{secrets.API_KEY}}
repo: ${{github.event.pull_request.head.repo.full_name}}
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{github.event.pull_request.head.ref}}
clean: false
- name: Check out head
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'push'
with:
ssh-key: ${{secrets.API_KEY}}
Expand Down

0 comments on commit df4e002

Please sign in to comment.