Skip to content

Commit 91419ea

Browse files
authored
Merge pull request #2 from calcit-lang/snapshot
change snapshot format
2 parents 9d5e81c + 1f2bbf0 commit 91419ea

File tree

6 files changed

+453
-417
lines changed

6 files changed

+453
-417
lines changed

.github/workflows/check.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,26 @@ jobs:
1212
name: Test
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616

17-
- name: ACTIONS_ALLOW_UNSECURE_COMMANDS
18-
id: ACTIONS_ALLOW_UNSECURE_COMMANDS
19-
run: echo 'ACTIONS_ALLOW_UNSECURE_COMMANDS=true' >> $GITHUB_ENV
17+
- uses: supplypike/setup-bin@v3
18+
with:
19+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/cr'
20+
name: 'cr'
21+
version: '0.8.9'
2022

21-
- name: add cr
22-
run: |
23-
mkdir -p $GITHUB_WORKSPACE/bin
24-
wget -O $GITHUB_WORKSPACE/bin/cr http://repo.calcit-lang.org/binaries/linux/cr
25-
chmod +x $GITHUB_WORKSPACE/bin/cr
26-
echo "::add-path::$GITHUB_WORKSPACE/bin"
23+
- uses: supplypike/setup-bin@v3
24+
with:
25+
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.9/caps'
26+
name: 'caps'
27+
version: '0.8.9'
2728

28-
- uses: actions-rs/toolchain@v1
29+
- uses: dtolnay/rust-toolchain@stable
2930
with:
3031
toolchain: stable
3132

33+
- uses: Swatinem/rust-cache@v2
34+
3235
- run: cargo build --release
3336

3437
- run: mkdir dylibs/ && ls target/release/ && cp -v target/release/*.* dylibs/

Cargo.lock

Lines changed: 24 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "calcit_regex"
33
version = "0.0.2"
44
authors = ["jiyinyiyong <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
[lib]
88
name = "calcit_std"
@@ -13,6 +13,6 @@ crate-type = ["dylib"] # Creates dynamic lib
1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

1515
[dependencies]
16-
cirru_edn = "0.2.11"
17-
cirru_parser = "0.1.16"
18-
regex = "1.5.4"
16+
cirru_edn = "0.5.0"
17+
cirru_parser = "0.1.25"
18+
regex = "1.8.4"

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11

2+
rm -rfv dylibs
23
cargo build --release
34
mkdir -p dylibs/ && ls target/release/ && cp -v target/release/*.* dylibs/

0 commit comments

Comments
 (0)