Skip to content

Commit 3591969

Browse files
Update to PureScript v0.15.0 (#32)
* Update to CI to use 'unstable' purescript * Add CI test: verify 'bower.json' file works via pulp * Ignore spago-based tests (temporarily) * Update Bower dependencies to master or main * Update packages.dhall to 'prepare-0.15' package set * Removed unneeded 'psci-support' package * Added changelog entry
1 parent 8e58e82 commit 3591969

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- name: Set up a PureScript toolchain
1717
uses: purescript-contrib/setup-purescript@main
1818
with:
19+
purescript: "unstable"
1920
purs-tidy: "latest"
2021

2122
- name: Cache PureScript dependencies
@@ -32,8 +33,17 @@ jobs:
3233
- name: Build source
3334
run: spago build --no-install --purs-args '--censor-lib --strict'
3435

35-
- name: Run tests
36-
run: spago test --no-install
36+
# - name: Run tests
37+
# run: spago test --no-install
3738

3839
- name: Check formatting
3940
run: purs-tidy check src test
41+
42+
- name: Verify Bower & Pulp
43+
run: |
44+
npm install bower pulp@16.0.0-0
45+
npx bower install
46+
npx pulp build -- --censor-lib --strict
47+
if [ -d "test" ]; then
48+
npx pulp test
49+
fi

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
55
## [Unreleased]
66

77
Breaking changes:
8+
- Update project and deps to PureScript v0.15.0 (#32 by @JordanMartinez)
89

910
New features:
1011

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"url": "https://github.com/purescript-contrib/purescript-aff-coroutines.git"
1515
},
1616
"dependencies": {
17-
"purescript-aff": "^6.0.0",
18-
"purescript-avar": "^4.0.0",
19-
"purescript-coroutines": "^6.0.0",
20-
"purescript-effect": "^3.0.0"
17+
"purescript-aff": "main",
18+
"purescript-avar": "main",
19+
"purescript-coroutines": "main",
20+
"purescript-effect": "master"
2121
},
2222
"devDependencies": {
23-
"purescript-console": "^5.0.0"
23+
"purescript-console": "master"
2424
}
2525
}

packages.dhall

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
let upstream =
2-
https://github.com/purescript/package-sets/releases/download/psc-0.14.3-20210722/packages.dhall sha256:1ceb43aa59436bf5601bac45f6f3781c4e1f0e4c2b8458105b018e5ed8c30f8c
2+
https://raw.githubusercontent.com/purescript/package-sets/prepare-0.15/src/packages.dhall
33

44
in upstream

spago.dhall

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
, "maybe"
1111
, "newtype"
1212
, "prelude"
13-
, "psci-support"
1413
, "transformers"
1514
]
1615
, packages = ./packages.dhall

0 commit comments

Comments
 (0)