Skip to content

chore(deps): bump walrus from 0.21.2 to 0.22.0 (#101) #285

chore(deps): bump walrus from 0.21.2 to 0.22.0 (#101)

chore(deps): bump walrus from 0.21.2 to 0.22.0 (#101) #285

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
defaults:
run:
shell: bash
# Cancel any in-flight jobs for the same PR/branch so there's only one active
# at a time
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Rust
run: rustup update nightly --no-self-update && rustup default nightly && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: Install wasm32-unknown target
run: rustup target add wasm32-unknown-unknown
- name: Install wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Install wasm-tools
run: cargo install wasm-tools
- name: Build adapter
run: ./build-adapter.sh
- name: Test
run: cargo test
- name: Test without default features
run: cargo test --no-default-features
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update nightly && rustup default nightly && rustup component add rustfmt
- name: Format source code
run: cargo fmt -- --check