File tree Expand file tree Collapse file tree 6 files changed +46
-83
lines changed Expand file tree Collapse file tree 6 files changed +46
-83
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
-
13
12
steps :
14
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v4
15
14
16
- - name : Set up PureScript toolchain
15
+ - name : Set up a PureScript toolchain
17
16
uses : purescript-contrib/setup-purescript@main
18
17
with :
19
- purescript : " unstable "
18
+ purescript : " latest "
20
19
purs-tidy : " latest"
20
+ spago : " unstable"
21
21
22
22
- name : Cache PureScript dependencies
23
- uses : actions/cache@v2
23
+ uses : actions/cache@v4
24
24
with :
25
- key : ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall ') }}
25
+ key : ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock ') }}
26
26
path : |
27
27
.spago
28
28
output
29
29
30
- - name : Set up Node toolchain
31
- uses : actions/setup-node@v2
32
- with :
33
- node-version : " 14.x"
34
-
35
- - name : Cache NPM dependencies
36
- uses : actions/cache@v2
37
- env :
38
- cache-name : cache-node-modules
39
- with :
40
- path : ~/.npm
41
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
42
- restore-keys : |
43
- ${{ runner.os }}-build-${{ env.cache-name }}-
44
- ${{ runner.os }}-build-
45
- ${{ runner.os }}-
46
-
47
- - name : Install NPM dependencies
48
- run : npm install
49
-
50
- - name : Build the project
51
- run : npm run build
30
+ - name : Build source
31
+ run : spago build --censor-stats --strict --pedantic-packages
52
32
53
33
- name : Run tests
54
- run : npm run test
34
+ run : spago test --offline --censor-stats --strict --pedantic-packages -- --censor-codes=UserDefinedWarning
55
35
56
- - name : Check formatting
36
+ - name : Verify formatting
57
37
run : purs-tidy check src test
58
-
59
- - name : Verify Bower & Pulp
60
- run : |
61
- npm install bower [email protected]
62
- npx bower install
63
- npx pulp build -- --censor-lib --strict
64
- npx pulp test
Original file line number Diff line number Diff line change 25
25
" test" ,
26
26
" bower.json" ,
27
27
" package.json"
28
- ],
29
- "dependencies" : {
30
- "purescript-arrays" : " ^7.0.0" ,
31
- "purescript-control" : " ^6.0.0" ,
32
- "purescript-either" : " ^6.0.0" ,
33
- "purescript-foreign-object" : " ^4.0.0" ,
34
- "purescript-functions" : " ^6.0.0" ,
35
- "purescript-gen" : " ^4.0.0" ,
36
- "purescript-maybe" : " ^6.0.0" ,
37
- "purescript-nonempty" : " ^7.0.0" ,
38
- "purescript-prelude" : " ^6.0.0" ,
39
- "purescript-strings" : " ^6.0.0" ,
40
- "purescript-tailrec" : " ^6.0.0"
41
- },
42
- "devDependencies" : {
43
- "purescript-quickcheck" : " ^8.0.1"
44
- }
28
+ ]
45
29
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"scripts" : {
4
- "build" : " eslint src && spago build --purs-args '--censor-lib --strict' " ,
5
- "test" : " spago test --no-install "
4
+ "build" : " eslint src && spago build --censor-stats --strict --pedantic-packages " ,
5
+ "test" : " spago test --offline "
6
6
},
7
7
"devDependencies" : {
8
- "eslint" : " ^7.6 .0"
8
+ "eslint" : " ^9.12 .0"
9
9
}
10
10
}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ package :
2
+ name : argonaut-core
3
+ publish :
4
+ license : MIT
5
+ version : 7.0.0
6
+ location :
7
+ githubOwner : purescript-contrib
8
+ githubRepo : purescript-argonaut-core
9
+ dependencies :
10
+ - arrays
11
+ - control
12
+ - either
13
+ - foreign-object
14
+ - functions
15
+ - gen
16
+ - maybe
17
+ - nonempty
18
+ - prelude
19
+ - strings
20
+ - tailrec
21
+ test :
22
+ main : Test.Main
23
+ dependencies :
24
+ - console
25
+ - effect
26
+ - partial
27
+ - quickcheck
28
+ - tuples
29
+ workspace :
30
+ extraPackages : {}
31
+ packageSet :
32
+ registry : 60.5.0
You can’t perform that action at this time.
0 commit comments