Skip to content

Commit

Permalink
fix toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Oct 16, 2023
1 parent 9bc966c commit 89376d9
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/guide-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/misbehaviour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/multi-chains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/namada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 89376d9

Please sign in to comment.