From ede269bc809f43a30b629833a8078f921878d0e0 Mon Sep 17 00:00:00 2001 From: Adam Reif Date: Tue, 12 Jul 2022 08:40:41 -0500 Subject: [PATCH] Pin 07-10 rust nightly in CI Signed-off-by: Adam Reif --- .github/workflows/check_build.yml | 4 ++-- .github/workflows/check_tests.yml | 4 ++-- .github/workflows/generate_calamari_weights_files.yml | 4 ++-- .github/workflows/generate_dolphin_weights_files.yml | 4 ++-- .github/workflows/generate_manta_weights_files.yml | 4 ++-- .github/workflows/metadata_diff.yml | 4 ++-- .github/workflows/publish_draft_releases.yml | 4 ++-- .github/workflows/try-runtime-calamari-mainnet.yml | 4 ++-- scripts/init.sh | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/check_build.yml b/.github/workflows/check_build.yml index 0323280e2..1a7fd57dd 100644 --- a/.github/workflows/check_build.yml +++ b/.github/workflows/check_build.yml @@ -69,8 +69,8 @@ jobs: run: | curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env - rustup toolchain install nightly - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default nightly rustup update cargo install taplo-cli diff --git a/.github/workflows/check_tests.yml b/.github/workflows/check_tests.yml index 9b41aeaa7..0ccd28e33 100644 --- a/.github/workflows/check_tests.yml +++ b/.github/workflows/check_tests.yml @@ -70,9 +70,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: Run Unit Tests env: diff --git a/.github/workflows/generate_calamari_weights_files.yml b/.github/workflows/generate_calamari_weights_files.yml index b0e9b951f..b9bdcd2fe 100644 --- a/.github/workflows/generate_calamari_weights_files.yml +++ b/.github/workflows/generate_calamari_weights_files.yml @@ -49,9 +49,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: build env: diff --git a/.github/workflows/generate_dolphin_weights_files.yml b/.github/workflows/generate_dolphin_weights_files.yml index b1b509b82..a7bd0858d 100644 --- a/.github/workflows/generate_dolphin_weights_files.yml +++ b/.github/workflows/generate_dolphin_weights_files.yml @@ -49,9 +49,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: build env: diff --git a/.github/workflows/generate_manta_weights_files.yml b/.github/workflows/generate_manta_weights_files.yml index 8f9d1ffe4..6d7a8acdd 100644 --- a/.github/workflows/generate_manta_weights_files.yml +++ b/.github/workflows/generate_manta_weights_files.yml @@ -49,9 +49,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: build env: diff --git a/.github/workflows/metadata_diff.yml b/.github/workflows/metadata_diff.yml index 2ea4b8721..231e6d55e 100644 --- a/.github/workflows/metadata_diff.yml +++ b/.github/workflows/metadata_diff.yml @@ -75,9 +75,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: Build Binary env: diff --git a/.github/workflows/publish_draft_releases.yml b/.github/workflows/publish_draft_releases.yml index e2c7b1ea2..a17cba8ec 100644 --- a/.github/workflows/publish_draft_releases.yml +++ b/.github/workflows/publish_draft_releases.yml @@ -120,9 +120,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: build env: diff --git a/.github/workflows/try-runtime-calamari-mainnet.yml b/.github/workflows/try-runtime-calamari-mainnet.yml index 42b27dbac..cbd3a6a29 100644 --- a/.github/workflows/try-runtime-calamari-mainnet.yml +++ b/.github/workflows/try-runtime-calamari-mainnet.yml @@ -75,9 +75,9 @@ jobs: curl -s https://sh.rustup.rs -sSf | sh -s -- -y source ${HOME}/.cargo/env rustup toolchain install stable - rustup toolchain install nightly + rustup toolchain install nightly-2022-07-10-x86_64-unknown-linux-gnu rustup default stable - rustup target add wasm32-unknown-unknown --toolchain nightly + rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu rustup update - name: Build Binary env: diff --git a/scripts/init.sh b/scripts/init.sh index 7a0ffccd2..a23bf1da8 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -3,4 +3,4 @@ rustup default stable rustup update rustup update nightly -rustup target add wasm32-unknown-unknown --toolchain nightly +rustup target add wasm32-unknown-unknown --toolchain nightly-2022-07-10-x86_64-unknown-linux-gnu