Skip to content

Commit 2eaddd9

Browse files
committed
Update benchmark workflow to use version in mops.toml
1 parent dd58c06 commit 2eaddd9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
npm --yes -g i ic-mops
4747
mops i
4848
mops toolchain init
49-
mops toolchain use moc latest
5049
5150
# set moc path for dfx to use
5251
echo "DFX_MOC_PATH=$(mops toolchain bin moc)" >> $GITHUB_ENV
@@ -61,16 +60,15 @@ jobs:
6160
continue-on-error: true
6261

6362
- name: Checkout out the branch with benchmark results
64-
if: github.event_name == 'pull_request'
6563
uses: actions/checkout@v4
6664
with:
6765
ref: benchmark-results
6866
path: .benchmark-results-branch/
67+
6968
- name: Move Saved Benchmarks
70-
if: github.event_name == 'pull_request'
7169
run: mv .benchmark-results-branch/.bench .bench 2>/dev/null || mkdir -p .bench
7270

73-
- name: Benchmarks
71+
- name: Pull Request Benchmarks
7472
if: github.event_name == 'pull_request'
7573
id: benchmarks
7674
run: |

0 commit comments

Comments
 (0)