Skip to content

Commit

Permalink
chore(ci): Update wasm32-wasi reference for Rust 1.84
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Bergius <[email protected]>
  • Loading branch information
joonas committed Jan 20, 2025
1 parent 348f651 commit 0ac1963
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable --no-self-update && rustup default stable && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
shell: bash
run: |
rustup update stable --no-self-update
rustup default stable
rustup target add wasm32-wasip2
rustup target add wasm32-unknown-unknown
- name: Build all crates
run: cargo build --all --features warg-server/debug
- name: Run all tests
Expand All @@ -35,8 +39,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable --no-self-update && rustup default stable && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
shell: bash
run: |
rustup update stable --no-self-update
rustup default stable
rustup target add wasm32-wasip2
rustup target add wasm32-unknown-unknown
- name: Install diesel-cli
run: cargo install diesel_cli
- name: Build all crates
Expand All @@ -50,7 +58,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable --no-self-update && rustup default stable
run: |
rustup update stable --no-self-update
rustup default stable
- name: Install warg CLI
run: cargo install --locked --path .

Expand All @@ -60,6 +70,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
run: |
rustup update stable
rustup default stable
rustup component add rustfmt
- name: Run `cargo fmt`
run: cargo fmt -- --check

0 comments on commit 0ac1963

Please sign in to comment.