From 89376d9cbc0b2a722f6bd171dce889de3e716d46 Mon Sep 17 00:00:00 2001 From: yito88 Date: Mon, 16 Oct 2023 22:39:11 +0200 Subject: [PATCH] fix toolchain --- .github/workflows/guide-templates.yaml | 3 +++ .github/workflows/integration.yaml | 30 ++++++++++++++++++++++++++ .github/workflows/misbehaviour.yml | 3 +++ .github/workflows/multi-chains.yaml | 3 +++ .github/workflows/namada.yml | 3 +++ .github/workflows/publish.yml | 3 +++ .github/workflows/rust.yml | 17 +++++++++++++++ 7 files changed, 62 insertions(+) diff --git a/.github/workflows/guide-templates.yaml b/.github/workflows/guide-templates.yaml index 7cb93a0e22..623f953b21 100644 --- a/.github/workflows/guide-templates.yaml +++ b/.github/workflows/guide-templates.yaml @@ -32,6 +32,9 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: Check templates run: bash scripts/auto_gen_templates.sh --mode "check" - uses: actions-rs/cargo@v1 diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index e2c51eaacc..3837aac4a2 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -91,6 +91,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -129,6 +132,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -170,6 +176,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -219,6 +228,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -262,6 +274,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -302,6 +317,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -344,6 +362,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -384,6 +405,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -424,6 +448,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -462,6 +489,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/misbehaviour.yml b/.github/workflows/misbehaviour.yml index 57e4608526..262d1a2661 100644 --- a/.github/workflows/misbehaviour.yml +++ b/.github/workflows/misbehaviour.yml @@ -80,6 +80,9 @@ jobs: chmod: 0755 - name: Install Rust uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - name: Use Rust cache uses: Swatinem/rust-cache@v1 - name: Build Hermes diff --git a/.github/workflows/multi-chains.yaml b/.github/workflows/multi-chains.yaml index 22e4f5edb3..8b015d5d28 100644 --- a/.github/workflows/multi-chains.yaml +++ b/.github/workflows/multi-chains.yaml @@ -96,6 +96,9 @@ jobs: with: name: cosmos - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/namada.yml b/.github/workflows/namada.yml index a250c164d8..72d73e6014 100644 --- a/.github/workflows/namada.yml +++ b/.github/workflows/namada.yml @@ -40,6 +40,9 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aac792b0ed..2e01eb1f41 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,6 +12,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: katyo/publish-crates@v2 with: dry-run: true diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index faf3595ff4..1103614f49 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -39,6 +39,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: actions-rs/cargo@v1 with: command: fmt @@ -52,6 +55,10 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + components: clippy + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/clippy-check@v1 with: @@ -67,6 +74,10 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + components: clippy + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/clippy-check@v1 with: @@ -83,6 +94,9 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + override: true - uses: Swatinem/rust-cache@v1 - uses: actions-rs/cargo@v1 with: @@ -100,6 +114,9 @@ jobs: # with: # fetch-depth: 0 # - uses: actions-rs/toolchain@v1 + # with: + # toolchain: 1.70.0 + # override: true # - uses: actions-rs/cargo@v1 # with: # command: clean