Skip to content

Commit

Permalink
upgrade to rust-1.70 (#2563)
Browse files Browse the repository at this point in the history
* upgrade to rust-1.70

* update orml
  • Loading branch information
zjb0807 committed Jul 5, 2023
1 parent 0c1a872 commit 5b98796
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
default: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: Setup cmake
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
required: false

env:
SUBWASM_VERSION: 0.19.1
SUBWASM_VERSION: 0.20.0
CHAIN: ${{ github.event.inputs.chain }}
SCOPE: ${{ github.event.inputs.scope }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: Setup cmake
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: Setup cmake
Expand All @@ -110,7 +110,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: Setup cmake
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: Setup cmake
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml.src
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: Check format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-03-04
toolchain: nightly-2023-04-15
components: rustfmt
target: wasm32-unknown-unknown
- name: update tokens
Expand Down
4 changes: 2 additions & 2 deletions scripts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust:buster as builder
WORKDIR /app

RUN rustup default nightly-2023-03-04 && \
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-03-04
RUN rustup default nightly-2023-04-15 && \
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-04-15

RUN apt-get update && \
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \
Expand Down
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

echo "*** Initializing WASM build environment"

rustup default nightly-2023-03-04
rustup default nightly-2023-04-15

rustup target add wasm32-unknown-unknown --toolchain nightly-2023-03-04
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-04-15
4 changes: 2 additions & 2 deletions scripts/profiling/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM rust:buster as builder
WORKDIR /app

RUN rustup default nightly-2023-03-04 && \
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-03-04
RUN rustup default nightly-2023-04-15 && \
rustup target add wasm32-unknown-unknown --toolchain nightly-2023-04-15

RUN apt-get update && \
apt-get dist-upgrade -y -o Dpkg::Options::="--force-confold" && \
Expand Down

0 comments on commit 5b98796

Please sign in to comment.