Browse Source

Fix ci stylus wasm check (#2768)

Dani Mehrjerdi 5 months ago
parent
commit
293a84479d
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/ci-stylus-check-wasm.yml

+ 5 - 1
.github/workflows/ci-stylus-check-wasm.yml

@@ -24,6 +24,10 @@ jobs:
         working-directory: target_chains/ethereum/sdk/stylus
     steps:
       - uses: actions/checkout@v4
+      - name: Install Rust stable
+        uses: actions-rs/toolchain@v1
+        with:
+          toolchain: stable
       - name: Install rust
         uses: actions-rust-lang/setup-rust-toolchain@v1
         with:
@@ -33,6 +37,6 @@ jobs:
         with:
           version: nightly
       - name: Install cargo-stylus
-        run: cargo install cargo-stylus@0.5.8
+        run: cargo +stable install cargo-stylus@0.5.8
       - name: Run wasm check
         run: ./scripts/check-wasm.sh