Skip to content

Commit

Permalink
workflow updates; tag 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jun 23, 2023
1 parent 27c8d11 commit 88a9002
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 23 deletions.
31 changes: 16 additions & 15 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: add cr
run: |
mkdir -p $GITHUB_WORKSPACE/bin
wget -O $GITHUB_WORKSPACE/bin/cr https://github.com/calcit-lang/calcit/releases/download/0.6.17/cr
chmod +x $GITHUB_WORKSPACE/bin/cr
echo "::add-path::$GITHUB_WORKSPACE/bin"
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.2/cr'
name: 'cr'
version: '0.7.2'

- name: "prepare modules"
run: >
mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/
&& git clone https://github.com/calcit-lang/calcit-test.git
- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.7.2/caps'
name: 'caps'
version: '0.7.2'

- name: "test"
run: cr -1
run: caps --ci && cr -1

- run: cr --emit-js -1 && yarn && node ./main.mjs
2 changes: 1 addition & 1 deletion calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
([] x1 y1) b
[] (- x0 x1) (- y0 y1)
|&q* $ quote
defn &q* (a b) (noted "\"w placed at last element")
defn &q* (a b) (doc-fn "\"w placed at last element")
let-sugar
[] x1 y1 z1 w1
, a
Expand Down
3 changes: 3 additions & 0 deletions package.cirru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{}
:dependencies $ {}
|calcit-lang/calcit-test |main
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "0.0.4",
"version": "0.0.5",
"dependencies": {
"@calcit/procs": "^0.6.17"
"@calcit/procs": "^0.7.2"
},
"scripts": {},
"devDependencies": {}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88a9002

Please sign in to comment.