From 763f8e2552149ed9be4064753d8ff79ba20b1fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20=C5=BBuk?= Date: Fri, 21 Jun 2024 11:58:47 +0200 Subject: [PATCH] Fix CI --- .github/workflows/check-formatting.yml | 9 --------- .github/workflows/fork-test.yml | 9 --------- .github/workflows/release.yml | 9 --------- .github/workflows/test.yml | 9 --------- .github/workflows/try-runtime.yml | 9 --------- rust-toolchain.toml | 2 +- 6 files changed, 1 insertion(+), 46 deletions(-) diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index 2d2ecc7b7e..94acb1ad0b 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -23,15 +23,6 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config git-restore-mtime - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true - target: wasm32-unknown-unknown - components: rustfmt, clippy - - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/fork-test.yml b/.github/workflows/fork-test.yml index 7110dfc3be..09d847f2f1 100644 --- a/.github/workflows/fork-test.yml +++ b/.github/workflows/fork-test.yml @@ -23,15 +23,6 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config git-restore-mtime moreutils - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true - target: wasm32-unknown-unknown - components: rustfmt, clippy - - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a9bdfed87..4fcafb1b96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,15 +19,6 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config git-restore-mtime - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true - target: wasm32-unknown-unknown - components: rustfmt, clippy - # this is needed to make sure that cargo uses the cached target files, # which will have an older date than the checked out source code. - name: Restore files timestamps diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4932eb9909..37864349e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,15 +26,6 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config git-restore-mtime - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true - target: wasm32-unknown-unknown - components: rustfmt, clippy - - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/try-runtime.yml b/.github/workflows/try-runtime.yml index 2a36fa5fa7..53fd594d80 100644 --- a/.github/workflows/try-runtime.yml +++ b/.github/workflows/try-runtime.yml @@ -23,15 +23,6 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config git-restore-mtime - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - default: true - target: wasm32-unknown-unknown - components: rustfmt, clippy - - name: Checkout uses: actions/checkout@v4 diff --git a/rust-toolchain.toml b/rust-toolchain.toml index f3cac4cb6b..0391060797 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] -channel = "stable" +channel = "1.78.0" components = [ "rustfmt" ] targets = [ "wasm32-unknown-unknown" ] profile = "minimal"