Skip to content

Commit 5a212de

Browse files
committed
Do it in setup-build action instead of pre_job
1 parent b05c807 commit 5a212de

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/actions/setup-build/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,9 @@ runs:
131131
if: runner.os == 'Linux'
132132
run: ghcup gc --ghc-old --share-dir --hls-no-ghc --cache --tmpdirs --unset
133133
shell: bash
134+
135+
# wamerican package provides "/usr/share/dict/words" needed by FuzzySearch tests
136+
- name: "Install wamerican package"
137+
if: runner.os == 'Linux'
138+
run: sudo apt-get update && sudo apt-get install -y wamerican
139+
shell: bash

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ jobs:
5555
, "test/**"
5656
, "shake-bench/**"
5757
]'
58-
# Ensure "/usr/share/dict/words" used by FuzzySearch tests is installed
59-
- id: install_words
60-
run: sudo apt-get update && sudo apt-get install -y wamerican
6158

6259
test:
6360
if: needs.pre_job.outputs.should_skip != 'true'

0 commit comments

Comments
 (0)