File tree Expand file tree Collapse file tree 6 files changed +2572
-2706
lines changed Expand file tree Collapse file tree 6 files changed +2572
-2706
lines changed Original file line number Diff line number Diff line change @@ -10,26 +10,27 @@ jobs:
10
10
test :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
14
15
- - name : ACTIONS_ALLOW_UNSECURE_COMMANDS
16
- id : ACTIONS_ALLOW_UNSECURE_COMMANDS
17
- run : echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
15
+ - uses : actions/setup-node@v3
16
+ with :
17
+ node-version : 18
18
+ cache : ' yarn'
18
19
19
- - name : add cr
20
- run : |
21
- mkdir -p $GITHUB_WORKSPACE/bin
22
- wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.0/cr
23
- chmod +x $GITHUB_WORKSPACE/bin/cr
24
- echo "::add-path::$GITHUB_WORKSPACE/bin"
20
+ - uses : supplypike/setup-bin@v3
21
+ with :
22
+ uri : ' https://github.com/calcit-lang/calcit/releases/download/0.7.12/cr'
23
+ name : ' cr'
24
+ version : ' 0.7.12'
25
25
26
- - name : " prepare modules"
27
- run : >
28
- mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/
29
- && git clone https://github.com/calcit-lang/calcit-test
26
+ - uses : supplypike/setup-bin@v3
27
+ with :
28
+ uri : ' https://github.com/calcit-lang/calcit/releases/download/0.7.12/caps'
29
+ name : ' caps'
30
+ version : ' 0.7.12'
30
31
31
32
- name : " test"
32
- run : cr --entry test -1
33
+ run : caps --ci && cr --entry test -1
33
34
34
35
- run : >
35
36
cr --emit-js -1 --entry test
You can’t perform that action at this time.
0 commit comments