Skip to content

Bump version to 0.4.1 #72

Bump version to 0.4.1

Bump version to 0.4.1 #72

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
- 'release-**'
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@1.82.0
with:
targets: wasm32-wasip2
components: clippy, rustfmt
- name: Re-vendor WIT
run: |
./scripts/vendor-wit.sh
git diff --exit-code
- name: cargo fmt
run: cargo fmt --all -- --check
- name: cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
test:
needs: lint
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
include:
- rust: "1.81"
targets: "wasm32-wasip1"
- rust: "1.82"
targets: "wasm32-wasip2"
name: Test on target ${{ matrix.targets }}
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.targets }}
- name: cargo test
run: cargo test