File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -11,39 +11,35 @@ jobs:
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v4
15
15
16
16
- name : Set up a PureScript toolchain
17
17
uses : purescript-contrib/setup-purescript@main
18
18
with :
19
- purescript : " unstable "
19
+ purescript : " latest "
20
20
purs-tidy : " latest"
21
+ spago : " unstable"
21
22
22
23
- name : Cache PureScript dependencies
23
24
uses : actions/cache@v2
24
25
with :
25
- key : ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall ') }}
26
+ key : ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock ') }}
26
27
path : |
27
28
.spago
28
29
output
29
30
31
+ - uses : actions/setup-node@v4
32
+ with :
33
+ node-version : " lts/*"
34
+
30
35
- name : Install dependencies
31
36
run : spago install
32
37
33
38
- name : Build source
34
- run : spago build --no-install
39
+ run : spago build --offline
35
40
36
41
- name : Run tests
37
- run : spago test --no-install
42
+ run : spago test --offline
38
43
39
44
- name : Check formatting
40
45
run : purs-tidy check src test
41
-
42
- - name : Verify Bower & Pulp
43
- run : |
44
- npm install bower [email protected]
45
- npx bower install
46
- npx pulp build -- --censor-lib --strict
47
- if [ -d "test" ]; then
48
- npx pulp test
49
- fi
You can’t perform that action at this time.
0 commit comments