Skip to content

Commit 876b048

Browse files
committed
CI: bench: default to bash
1 parent 3640fcf commit 876b048

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/bench.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Benchmark
22

3+
defaults:
4+
run:
5+
shell: bash
6+
37
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
48
concurrency:
59
group: ${{ github.head_ref }}-${{ github.workflow }}
@@ -89,17 +93,14 @@ jobs:
8993
- run: cabal configure --enable-benchmarks --max-backjumps 12000
9094

9195
- name: Build
92-
shell: bash
9396
run: cabal build ghcide:benchHist
9497

9598
- name: Bench init
96-
shell: bash
9799
run: cabal bench ghcide:benchHist -j --benchmark-options="all-binaries"
98100

99101
# tar is required to preserve file permissions
100102
# compression speeds up upload/download nicely
101103
- name: tar workspace
102-
shell: bash
103104
run: tar -czf workspace.tar.gz * .git
104105

105106
- name: tar cabal
@@ -159,11 +160,9 @@ jobs:
159160
tar xzf cabal.tar.gz --directory ~/.cabal
160161
161162
- name: Bench
162-
shell: bash
163163
run: cabal bench ghcide:benchHist -j --benchmark-options="${{ matrix.example }}"
164164

165165
- name: Display results
166-
shell: bash
167166
run: |
168167
column -s, -t < ghcide/bench-results/unprofiled/${{ matrix.example }}/results.csv | tee ghcide/bench-results/unprofiled/${{ matrix.example }}/results.txt
169168

0 commit comments

Comments
 (0)