Skip to content

Commit 7910816

Browse files
Migrate to registry-backed Spago 1.0 (#33)
1 parent 37a6a4f commit 7910816

7 files changed

Lines changed: 1312 additions & 71 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,23 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v7
15+
16+
- uses: actions/setup-node@v7
17+
with:
18+
node-version: 24
1519

1620
- name: Set up a PureScript toolchain
1721
uses: purescript-contrib/setup-purescript@main
1822
with:
1923
purescript: "unstable"
24+
spago: "latest"
2025
purs-tidy: "latest"
2126

2227
- name: Cache PureScript dependencies
23-
uses: actions/cache@v2
28+
uses: actions/cache@v6
2429
with:
25-
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
30+
key: ${{ runner.os }}-spago-${{ hashFiles('spago.yaml', 'spago.lock') }}
2631
path: |
2732
.spago
2833
output
@@ -31,19 +36,10 @@ jobs:
3136
run: spago install
3237

3338
- name: Build source
34-
run: spago build --no-install --purs-args '--censor-lib --strict'
39+
run: spago build --strict --pedantic-packages
3540

3641
- name: Run tests
37-
run: spago test --no-install
42+
run: spago test --strict --pedantic-packages
3843

3944
- name: Check formatting
4045
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

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66

77
output
88
generated-docs
9-
bower_components

‎bower.json‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

‎packages.dhall‎

Lines changed: 0 additions & 4 deletions
This file was deleted.

‎spago.dhall‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)