Skip to content

Commit

Permalink
Merge pull request #115 from CosmWasm/shanev/fix-ci
Browse files Browse the repository at this point in the history
Update workspace optimizer
  • Loading branch information
shanev committed Jun 19, 2023
2 parents f8600e6 + 3a024ee commit 8ff3222
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ jobs:
- run:
name: Build development contracts
command: |
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.12.9
docker run --volumes-from with_code cosmwasm/workspace-optimizer:0.12.13
docker cp with_code:/code/artifacts ./artifacts
- run:
name: Show data
Expand Down
15 changes: 5 additions & 10 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,19 @@ skip_core_tasks = true

[tasks.fmt]
command = "cargo"
args = ["fmt", "--all", "--check"]
args = ["fmt", "--all", "--check"]

[tasks.test]
command = "cargo"
args = ["test", "--locked"]
args = ["test", "--locked"]

[tasks.lint]
command = "cargo"
args = ["clippy", "--tests", "--", "-D", "warnings"]
args = ["clippy", "--tests", "--", "-D", "warnings"]

[tasks.build]
command = "cargo"
args = [
"build",
"--release",
"--locked",
"--target", "wasm32-unknown-unknown",
]
args = ["build", "--release", "--locked", "--target", "wasm32-unknown-unknown"]

[tasks.optimize]
script = """
Expand All @@ -36,7 +31,7 @@ fi
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
${image}:0.12.11
${image}:0.12.13
"""

[tasks.schema]
Expand Down

0 comments on commit 8ff3222

Please sign in to comment.