Skip to content

Commit dd0dbec

Browse files
committed
workflow updates; tag 0.0.13
1 parent e033050 commit dd0dbec

File tree

6 files changed

+2572
-2706
lines changed

6 files changed

+2572
-2706
lines changed

.github/workflows/tests.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,27 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414

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'
1819

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'
2525

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'
3031

3132
- name: "test"
32-
run: cr --entry test -1
33+
run: caps --ci && cr --entry test -1
3334

3435
- run: >
3536
cr --emit-js -1 --entry test

0 commit comments

Comments
 (0)