Skip to content

Commit 7bf81f0

Browse files
committed
Update workflows
1 parent 647ef08 commit 7bf81f0

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,26 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414

1515
- uses: actions/setup-node@v3
1616
with:
1717
node-version: "lts/*"
1818

1919
- name: Setup PureScript dependencies
20-
run: npm i --global [email protected] spago@next purs-tidy
20+
run: npm i --global [email protected] esbuild spago@next purs-tidy
2121

22-
- name: Chech formatting
22+
- name: Check formatting
2323
run: purs-tidy check src/
2424

2525
- name: Build source
2626
run: |
2727
spago build
2828
spago bundle --bundle-type module --bundler-args '--external:gi://*'
2929
30+
- name: Run tests
31+
run: spago test
32+
3033
- name: Cache PureScript dependencies
3134
uses: actions/cache@v2
3235
with:

src/GObject.purs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ else instance SignalCallback o (EffectFn8 o b c d e f g h Unit)
4444
else instance SignalCallback o (EffectFn9 o b c d e f g h i Unit)
4545
else instance SignalCallback o (EffectFn10 o b c d e f g h i j Unit)
4646
else instance
47-
TE.Fail (TE.Text "Only EffectFnN with GObject as the first parameter can have a SignalCallback instance")
47+
TE.Fail
48+
( TE.Text
49+
"Only EffectFnN with GObject as the first parameter can have a SignalCallback instance"
50+
)
4851
SignalCallback o other
4952

5053
class GObjectSignal k. k Type Type Constraint

0 commit comments

Comments
 (0)