Skip to content

Commit

Permalink
Change CI file to fix wasm32-unknown-unknown issue
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Showalter <[email protected]>
  • Loading branch information
Zach Showalter committed Apr 15, 2024
1 parent 5a50ef8 commit 787ecc7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci-casper-client-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1

- name: Get stable from rust-toolchain.toml
id: stable-toolchain
run: echo "::set-output name=version::$(sed -nr 's/channel\s+=\s+\"(.*)\"/\1/p' rust-toolchain.toml)"

- name: Install Toolchain - Stable
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #tag v1.0.7
with:
toolchain: stable
profile: minimal
toolchain: ${{ steps.stable-toolchain.outputs.version }}
components: rustfmt, clippy
target: wasm32-unknown-unknown

Expand Down Expand Up @@ -73,4 +79,5 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --lib --target wasm32-unknown-unknown --no-default-features
target: wasm32-unknown-unknown
args: --lib --target wasm32-unknown-unknown --no-default-features

0 comments on commit 787ecc7

Please sign in to comment.