File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : build
22
33on :
4- push :
5- branches :
6- - main
74 pull_request :
85 branches :
96 - main
10- merge_group :
11- schedule :
12- - cron : 0 0 * * *
137
148jobs :
159 build :
1610 runs-on : ubuntu-latest
1711
1812 steps :
19- - uses : actions/checkout@v3
20-
21- - uses : actions/setup-node@v3
22- with :
23- node-version : 16
24-
25- - name : Workaround runner image issue
26- # https://github.com/actions/runner-images/issues/7061
27- run : sudo chown -R $USER /usr/local/.ghcup
28-
29- # this ensures that tests do not timeout
30- - run : ghc --version
13+ - run : rm -rf /usr/local/.ghcup
14+ - run : |
15+ src=https://github.com/hspec/setup-haskell/releases/download/nightly/dist-$RUNNER_OS-$RUNNER_ARCH.tar.gz
16+ curl -sSL "$src" | tar -xz -C /usr/local
3117 - run : ghcup list
18+ - run : ghc --version
19+ - run : cabal update
20+ - run : cabal install --package-env=. --lib hspec
3221
33- - run : npm ci
34- - run : npm test
35-
36- - run : npm run build
37- - run : npx ts-node generate/readme.ts > README.md
38- - name : Check for uncommitted changes
39- run : git diff --quiet || (git diff && false)
You can’t perform that action at this time.
0 commit comments