File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+
11
+ - uses : purescript-contrib/setup-purescript@main
12
+ with :
13
+ purescript : " 0.15.4"
14
+
15
+ - name : Cache PureScript dependencies
16
+ uses : actions/cache@v2
17
+ # This cache uses the .dhall files to know when it should reinstall
18
+ # and rebuild packages. It caches both the installed packages from
19
+ # the `.spago` directory and compilation artifacts from the `output`
20
+ # directory. When restored the compiler will rebuild any files that
21
+ # have changed. If you do not want to cache compiled output, remove
22
+ # the `output` path.
23
+ with :
24
+ key : ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
25
+ path : |
26
+ .spago
27
+ output
28
+ - name : Build and test
29
+ run : spago build && spago -x test.dhall test --no-install
You can’t perform that action at this time.
0 commit comments