Skip to content

Commit c38e6ea

Browse files
srghmajamesdbrock
authored andcommitted
fix: ci
1 parent 2ab8d47 commit c38e6ea

File tree

3 files changed

+1363
-1253
lines changed

3 files changed

+1363
-1253
lines changed

Diff for: .github/workflows/ci.yml

+8-14
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,29 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12-
1312
steps:
14-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1514

1615
- name: Set up a PureScript toolchain
1716
uses: purescript-contrib/setup-purescript@main
1817
with:
19-
purescript: "unstable"
18+
purescript: "latest"
2019
purs-tidy: "latest"
20+
spago: "unstable"
2121

2222
- name: Cache PureScript dependencies
23-
uses: actions/cache@v2
23+
uses: actions/cache@v4
2424
with:
25-
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}-2
25+
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock') }}
2626
path: |
2727
.spago
2828
output
2929
30-
- name: Install dependencies
31-
run: spago install
32-
3330
- name: Build source
34-
run: spago build --no-install --purs-args '--censor-lib --strict --censor-codes='UserDefinedWarning''
35-
36-
- name: Install dev dependencies
37-
run: spago -x spago-dev.dhall install
31+
run: spago build --censor-stats --strict --pedantic-packages
3832

3933
- name: Run tests
40-
run: spago -x spago-dev.dhall test --no-install
34+
run: spago test --offline --censor-stats --strict --pedantic-packages -- --censor-codes=UserDefinedWarning
4135

42-
- name: Check formatting
36+
- name: Verify formatting
4337
run: purs-tidy check src test bench

0 commit comments

Comments
 (0)