Skip to content

Commit 5b2452d

Browse files
committed
CI fixes
1 parent 259c59a commit 5b2452d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
command: rustup target add wasm32-unknown-unknown
1818
- run:
1919
name: Build
20-
command: cargo wasm --locked
20+
command: make compile-optimized
2121
- run:
2222
name: Unit tests
2323
env: RUST_BACKTRACE=1

.github/workflows/Basic.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions-rs/toolchain@v1
1818
with:
1919
profile: minimal
20-
toolchain: 1.46.0
20+
toolchain: 1.59.0
2121
target: wasm32-unknown-unknown
2222
override: true
2323

@@ -32,8 +32,8 @@ jobs:
3232
- name: Compile WASM contract
3333
uses: actions-rs/cargo@v1
3434
with:
35-
command: wasm
36-
args: --locked
35+
command: build
36+
args: --release --target wasm32-unknown-unknown --locked
3737
env:
3838
RUSTFLAGS: "-C link-arg=-s"
3939

@@ -55,7 +55,7 @@ jobs:
5555
uses: actions-rs/toolchain@v1
5656
with:
5757
profile: minimal
58-
toolchain: 1.46.0
58+
toolchain: 1.59.0
5959
override: true
6060
components: rustfmt, clippy
6161

0 commit comments

Comments
 (0)