From 177bf66b946dc51e9c8c40ab836693af20479383 Mon Sep 17 00:00:00 2001 From: Serkan Reis Date: Tue, 12 Dec 2023 14:27:10 +0300 Subject: [PATCH] Update rust version for CI --- .circleci/config.yml | 54 ++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9b577448..fa501d5d1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,7 @@ workflows: jobs: contract_sg721: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/contracts/sg721 steps: - checkout: @@ -34,7 +34,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-sg721-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-sg721-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -56,10 +56,10 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-sg721-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-sg721-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} contract_sg721_updatable: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/contracts/sg721-updatable steps: - checkout: @@ -69,7 +69,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-sg721-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-sg721-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -91,11 +91,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-sg721-updatable-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-sg721-updatable-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} contract_minter: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/contracts/minter steps: - checkout: @@ -105,7 +105,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-minter-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-minter-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -127,11 +127,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-minter-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-minter-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} contract_whitelist: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/contracts/whitelist steps: - checkout: @@ -141,7 +141,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-whitelist-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-whitelist-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -163,11 +163,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-whitelist-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-whitelist-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} contract_royalty_group: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/contracts/royalty-group steps: - checkout: @@ -177,7 +177,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-royalty-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-royalty-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -199,11 +199,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-royalty-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-royalty-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} package_sg_std: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/package/sg-std steps: - checkout: @@ -213,7 +213,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-sg-std-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-sg-std-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -223,11 +223,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-sg-std-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-sg-std-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} package_sg_utils: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 working_directory: ~/project/package/sg-utils steps: - checkout: @@ -237,7 +237,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-sg-utils-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-sg-utils-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Unit Tests environment: @@ -247,11 +247,11 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-sg-utils-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-sg-utils-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} lint: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 steps: - checkout - run: @@ -259,7 +259,7 @@ jobs: command: rustc --version; cargo --version; rustup --version; rustup target list --installed - restore_cache: keys: - - cargocache-v2-lint-rust:1.64.0-{{ checksum "Cargo.lock" }} + - cargocache-v2-lint-rust:1.65.0-{{ checksum "Cargo.lock" }} - run: name: Add rustfmt component command: rustup component add rustfmt @@ -278,7 +278,7 @@ jobs: - target/debug/.fingerprint - target/debug/build - target/debug/deps - key: cargocache-v2-lint-rust:1.64.0-{{ checksum "Cargo.lock" }} + key: cargocache-v2-lint-rust:1.65.0-{{ 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 @@ -286,7 +286,7 @@ jobs: # We also sanity-check the resultant wasm files. wasm-build: docker: - - image: rust:1.64.0 + - image: rust:1.65.0 steps: - checkout: path: ~/project @@ -295,7 +295,7 @@ jobs: command: rustc --version; cargo --version; rustup --version - restore_cache: keys: - - cargocache-wasm-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + - cargocache-wasm-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Add wasm32 target command: rustup target add wasm32-unknown-unknown @@ -315,7 +315,7 @@ jobs: paths: - /usr/local/cargo/registry - target - key: cargocache-wasm-rust:1.64.0-{{ checksum "~/project/Cargo.lock" }} + key: cargocache-wasm-rust:1.65.0-{{ checksum "~/project/Cargo.lock" }} - run: name: Check wasm contracts command: |