diff --git a/.circleci/config.yml b/.circleci/config.yml index c991d2dd6..b10f55721 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,7 @@ workflows: jobs: contract_cw1_subkeys: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw1-subkeys steps: - checkout: @@ -62,7 +62,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw1-subkeys-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw1-subkeys-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -75,11 +75,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw1-subkeys-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw1-subkeys-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw1_whitelist: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw1-whitelist steps: - checkout: @@ -89,7 +89,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw1-whitelist-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw1-whitelist-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -102,11 +102,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw1-whitelist-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw1-whitelist-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw1_whitelist_ng: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw1-whitelist-ng steps: - checkout: @@ -116,7 +116,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw1-whitelist-ng-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw1-whitelist-ng-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -129,11 +129,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw1-whitelist-ng-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw1-whitelist-ng-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw3_fixed_multisig: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw3-fixed-multisig steps: - checkout: @@ -143,7 +143,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw3-fixed-multisig-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw3-fixed-multisig-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -156,11 +156,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw3-fixed-multisig-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw3-fixed-multisig-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw3_flex_multisig: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw3-flex-multisig steps: - checkout: @@ -170,7 +170,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw3-flex-multisig-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw3-flex-multisig-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -183,11 +183,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw3-flex-multisig-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw3-flex-multisig-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw4_group: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw4-group steps: - checkout: @@ -197,7 +197,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw4-group-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw4-group-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -210,11 +210,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw4-group-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw4-group-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw4_stake: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw4-stake steps: - checkout: @@ -224,7 +224,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw4-stake-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw4-stake-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -237,11 +237,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw4-stake-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw4-stake-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw20_base: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw20-base steps: - checkout: @@ -251,7 +251,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw20-base-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw20-base-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -264,11 +264,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw20-base-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw20-base-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw20_ics20: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw20-ics20 steps: - checkout: @@ -278,7 +278,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw20-ics20-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw20-ics20-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -291,11 +291,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw20-ics20-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw20-ics20-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} contract_cw1155_base: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/contracts/cw1155-base steps: - checkout: @@ -305,7 +305,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-cw1155-base-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-cw1155-base-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -318,11 +318,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-cw1155-base-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-cw1155-base-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_controllers: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/controllers steps: - checkout: @@ -332,7 +332,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-controllers:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-controllers:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -343,11 +343,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-controllers:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-controllers:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_utils: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/utils steps: - checkout: @@ -357,7 +357,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-utils:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-utils:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -368,11 +368,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-utils:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-utils:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_cw1: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/cw1 steps: - checkout: @@ -382,7 +382,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-cw1:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-cw1:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -396,11 +396,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-cw1:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-cw1:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_cw2: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/cw2 steps: - checkout: @@ -410,7 +410,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-cw2:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-cw2:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -422,11 +422,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-cw2:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-cw2:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_cw3: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/cw3 steps: - checkout: @@ -436,7 +436,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-cw3:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-cw3:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -450,11 +450,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-cw3:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-cw3:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_cw4: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/cw4 steps: - checkout: @@ -464,7 +464,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-cw4:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-cw4:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -478,11 +478,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-cw4:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-cw4:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_cw20: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/cw20 steps: - checkout: @@ -492,7 +492,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-cw20:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-cw20:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -506,11 +506,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-cw20:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-cw20:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_cw1155: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/cw1155 steps: - checkout: @@ -520,7 +520,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-cw1155:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-cw1155:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -534,11 +534,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-cw1155:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-cw1155:1.58.1-{{ checksum "~/project/Cargo.lock" }} lint: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 steps: - checkout - run: @@ -546,7 +546,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-lint-rust:1.54.0-{{ checksum "Cargo.lock" }} + - cargocache-v2-lint-rust:1.58.1-{{ checksum "Cargo.lock" }} - run: name: Add rustfmt component command: rustup component add rustfmt @@ -565,7 +565,7 @@ jobs: - target/debug/.fingerprint - target/debug/build - target/debug/deps - key: cargocache-v2-lint-rust:1.54.0-{{ checksum "Cargo.lock" }} + key: cargocache-v2-lint-rust:1.58.1-{{ checksum "Cargo.lock" }} # This runs one time on the top level to ensure all contracts compile properly into wasm. # We don't run the wasm build per contract build, and then reuse a lot of the same dependencies, so this speeds up CI time @@ -573,7 +573,7 @@ jobs: # We also sanity-check the resultant wasm files. wasm-build: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 steps: - checkout: path: ~/project @@ -582,7 +582,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-wasm-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-wasm-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Add wasm32 target command: rustup target add wasm32-unknown-unknown @@ -602,7 +602,7 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-wasm-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-wasm-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Check wasm contracts command: | @@ -614,7 +614,7 @@ jobs: package_multi_test: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/multi-test steps: - checkout: @@ -624,7 +624,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-multi-test:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-multi-test:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target command: cargo build --locked @@ -638,11 +638,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-multi-test:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-multi-test:1.58.1-{{ checksum "~/project/Cargo.lock" }} package_storage_plus: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project/packages/storage-plus steps: - checkout: @@ -652,7 +652,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-storage-plus:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-storage-plus:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Build library for native target (no iterator) command: cargo build --locked --no-default-features @@ -669,11 +669,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-storage-plus:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-storage-plus:1.58.1-{{ checksum "~/project/Cargo.lock" }} benchmarking: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 environment: RUST_BACKTRACE: 1 steps: @@ -684,7 +684,7 @@ jobs: command: rustc --version && cargo --version - restore_cache: keys: - - cargocache-v2-benchmarking-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-v2-benchmarking-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} - run: name: Run storage-plus benchmarks working_directory: ~/project/packages/storage-plus @@ -693,7 +693,7 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-v2-benchmarking-rust:1.54.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-v2-benchmarking-rust:1.58.1-{{ checksum "~/project/Cargo.lock" }} # This job roughly follows the instructions from https://circleci.com/blog/publishing-to-github-releases-via-circleci/ build_and_upload_contracts: @@ -743,7 +743,7 @@ jobs: build_and_upload_schemas: docker: - - image: rust:1.54.0 + - image: rust:1.58.1 working_directory: ~/project steps: - checkout: