Skip to content

Update crate thiserror and others #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
33 changes: 17 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
rust-version: [1.82, stable, nightly]
name: Native Tests
runs-on: ubuntu-latest
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
rust-version: [1.82, stable, nightly]
name: Browser Tests
runs-on: ubuntu-latest
steps:
Expand All @@ -51,7 +51,7 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Setup trunk
uses: jetli/trunk-action@v0.4.0
uses: jetli/trunk-action@v0.5.1
with:
version: 'latest'

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
rust-version: [1.82, stable, nightly]
name: Node Tests
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -125,20 +125,20 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
rust-version: [1.82, stable, nightly]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust-version }}
target: wasm32-wasi
target: wasm32-wasip1

- name: Install wasmtime
run: |
wget https://github.com/bytecodealliance/wasmtime/releases/download/v15.0.1/wasmtime-v15.0.1-x86_64-linux.tar.xz
tar xf wasmtime-v15.0.1-x86_64-linux.tar.xz
mv wasmtime-v15.0.1-x86_64-linux/wasmtime ~/wasmtime
rm -rf wasmtime-v15.0.1-x86_64-linux.tar.xz wasmtime-v15.0.1-x86_64-linux
wget https://github.com/bytecodealliance/wasmtime/releases/download/v33.0.2/wasmtime-v33.0.2-x86_64-linux.tar.xz
tar xf wasmtime-v33.0.2-x86_64-linux.tar.xz
mv wasmtime-v33.0.2-x86_64-linux/wasmtime ~/wasmtime
rm -rf wasmtime-v33.0.2-x86_64-linux.tar.xz wasmtime-v33.0.2-x86_64-linux
chmod +x ~/wasmtime

- uses: actions/cache@v4
Expand All @@ -154,8 +154,9 @@ jobs:

- name: Build and run example history-wasi
run: |
cargo build --package example-history-wasi --target wasm32-wasi
~/wasmtime --trap-unknown-imports target/wasm32-wasi/debug/example-history-wasi.wasm
rustup target add wasm32-wasip2
cargo build --package example-history-wasi --target wasm32-wasip2
~/wasmtime target/wasm32-wasip2/debug/example-history-wasi.wasm

test-worker:
name: Test gloo-worker
Expand All @@ -165,7 +166,7 @@ jobs:
matrix:
# example: [ markdown, prime ]
example: [markdown]
rust-version: [1.64, stable, nightly]
rust-version: [1.82, stable, nightly]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand All @@ -177,7 +178,7 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Setup trunk
uses: jetli/trunk-action@v0.4.0
uses: jetli/trunk-action@v0.5.1
with:
version: 'latest'

Expand Down Expand Up @@ -209,7 +210,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust-version: [1.64, stable, nightly]
rust-version: [1.82, stable, nightly]
name: Test gloo-net
runs-on: ubuntu-latest
services:
Expand Down Expand Up @@ -263,7 +264,7 @@ jobs:
WS_ECHO_SERVER_URL: 'ws://localhost:8081'
SSE_ECHO_SERVER_URL: 'http://localhost:8081/.sse'
run: cargo test -p gloo-net --features=default,io-util

- name: Run node tests
env:
HTTPBIN_URL: 'http://localhost:8080'
Expand Down
Loading
Loading