File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : [master]
66 pull_request :
7- branches : [master]
87
98jobs :
109 build :
1110 runs-on : ubuntu-latest
1211 steps :
13- - uses : actions/checkout@v2
14-
15- - uses : purescript-contrib/setup-purescript@main
16- with :
17- purescript : " unstable"
12+ - uses : actions/checkout@v4
1813
19- - uses : actions/setup-node@v2
14+ - uses : cachix/install-nix-action@v27
2015 with :
21- node-version : " 14.x"
16+ extra_nix_config : |
17+ accept-flake-config = true
18+ extra-substituters = https://cache.iog.io https://purescript-lua.cachix.org
19+ extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= purescript-lua.cachix.org-1:yLs4ei2HtnuPtzLekOrW3xdfm95+Etw15gwgyIGTayA=
2220
23- - name : Install dependencies
24- run : |
25- npm install -g bower
26- npm install
27- bower install --production
21+ - name : Build
22+ run : nix develop -c ./scripts/build
2823
29- - name : Build source
30- run : npm run-script build
24+ - name : Test
25+ run : if [ -f scripts/test ]; then nix develop -c ./scripts/test; fi
3126
32- - name : Run tests
33- run : |
34- bower install
35- npm run-script test --if-present
27+ - name : Luacheck
28+ run : nix develop -c luacheck --quiet --std lua51 --no-unused-args src/
You can’t perform that action at this time.
0 commit comments