File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -2,22 +2,33 @@ name: CI
2
2
on : [push]
3
3
4
4
jobs :
5
- # This workflow contains a single job called "test"
6
5
test :
7
- # why is UBUNTU the only distro they have a runner for 💀💀💀
8
6
runs-on : ubuntu-latest
9
7
10
8
steps :
11
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it. also in Mati's so I will blindly trust it
12
9
- uses : actions/checkout@v4
13
10
14
- # Runs a set of commands using the runners shell
11
+ - name : Cache Spago dependencies
12
+ uses : actions/cache@v4
13
+ with :
14
+ path : .spago
15
+ key : spago-${{ hashFiles('spago.lock') }}
16
+ restore-keys : |
17
+ spago-
18
+
19
+ - name : Set up Node 20
20
+ uses : actions/setup-node@v4
21
+ with :
22
+ node-version : " 20.x"
23
+
15
24
- name : Set up Purescript and Spago
16
25
run : |
17
26
npm i -g purescript
18
27
npm i -g spago@next
19
28
20
- # Runs a single command
29
+ - name : Install Spago dependencies
30
+ run : spago install --pure --pedantic-packages
31
+
21
32
- name : Build
22
33
run : spago build --strict
23
34
You can’t perform that action at this time.
0 commit comments