Skip to content

Commit 2ec58cc

Browse files
committed
feat: upgrade to spago@next
1 parent 50e79f6 commit 2ec58cc

File tree

7 files changed

+1305
-88
lines changed

7 files changed

+1305
-88
lines changed

.github/workflows/ci.yml

+8-20
Original file line numberDiff line numberDiff line change
@@ -9,41 +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') }}
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'
31+
run: spago build --censor-stats --strict --pedantic-packages
3532

3633
- name: Run tests
37-
run: spago test --no-install
34+
run: spago test --offline --censor-stats --strict --pedantic-packages -- --censor-codes=UserDefinedWarning
3835

39-
- name: Check formatting
36+
- name: Verify formatting
4037
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

bower.json

+2-31
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"name": "purescript-argonaut-codecs",
3-
"license": [
4-
"MIT"
5-
],
3+
"license": "MIT",
64
"repository": {
75
"type": "git",
86
"url": "https://github.com/purescript-contrib/purescript-argonaut-codecs.git"
@@ -12,32 +10,5 @@
1210
"node_modules",
1311
"bower_components",
1412
"output"
15-
],
16-
"dependencies": {
17-
"purescript-argonaut-core": "^7.0.0",
18-
"purescript-arrays": "^7.0.0",
19-
"purescript-bifunctors": "^6.0.0",
20-
"purescript-effect": "^4.0.0",
21-
"purescript-either": "^6.0.0",
22-
"purescript-foldable-traversable": "^6.0.0",
23-
"purescript-foreign-object": "^4.0.0",
24-
"purescript-identity": "^6.0.0",
25-
"purescript-integers": "^6.0.0",
26-
"purescript-lists": "^7.0.0",
27-
"purescript-maybe": "^6.0.0",
28-
"purescript-nonempty": "^7.0.0",
29-
"purescript-ordered-collections": "^3.0.0",
30-
"purescript-prelude": "^6.0.0",
31-
"purescript-record": "^4.0.0",
32-
"purescript-strings": "^6.0.0",
33-
"purescript-tuples": "^7.0.0"
34-
},
35-
"devDependencies": {
36-
"purescript-assert": "^6.0.0",
37-
"purescript-console": "^6.0.0",
38-
"purescript-exceptions": "^6.0.0",
39-
"purescript-gen": "^4.0.0",
40-
"purescript-quickcheck": "^8.0.1",
41-
"purescript-transformers": "^6.0.0"
42-
}
13+
]
4314
}

package-lock.json

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages.dhall

-5
This file was deleted.

spago.dhall

-32
This file was deleted.

0 commit comments

Comments
 (0)