Skip to content

Commit e716038

Browse files
committed
Run apt-update before installing packages in benchmark.yaml
1 parent c1f11fd commit e716038

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/benchmark.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@v3
2828

29-
- name: install hub git wrapper to checkout PR
30-
run: sudo apt-get install hub
29+
- name: Install valgrind and hub
30+
run: sudo apt-get update && sudo apt-get install hub valgrind
3131

3232
- name: Checkout Pull Request
3333
run: hub pr checkout ${{ github.event.issue.number }}
@@ -46,8 +46,6 @@ jobs:
4646
shared-key: ${{ github.workflow }}-${{ github.job }}
4747

4848
## Benchmarks
49-
- name: install valgrind for benchmarks
50-
run: sudo apt-get install valgrind
5149
- name: Checkout main branch
5250
run: git checkout main
5351
- name: Copy over benchmarks from PR branch

0 commit comments

Comments
 (0)