Skip to content

Add #[nullable] attribute alongside #[optional] #1295

Add #[nullable] attribute alongside #[optional]

Add #[nullable] attribute alongside #[optional] #1295

Workflow file for this run

name: traceparent
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Install Rust toolchain
run: rustup default nightly
- name: Install cargo-hack
run: cargo install cargo-hack
- name: All
working-directory: ./traceparent
run: cargo test --all-features
- name: Docs
working-directory: ./traceparent
run: cargo doc --all-features --no-deps
- name: Build powerset
working-directory: ./traceparent
run: cargo hack build --feature-powerset --lib
- name: Test powerset
working-directory: ./traceparent
run: cargo hack test --feature-powerset --lib
- name: Minimal versions
working-directory: ./traceparent
run: cargo hack test --feature-powerset --lib -Z minimal-versions
wasip2:
name: Test (Wasip2)
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Install Wasmtime
run: curl https://wasmtime.dev/install.sh -sSf | bash
- name: Add Wasmtime to path
run: echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
- name: Install Rust toolchain
run: rustup default nightly
- name: Install wasm32-wasip2 target
run: rustup target add wasm32-wasip2
- name: Install cargo-hack
run: cargo install cargo-hack
- name: All
working-directory: ./traceparent
run: cargo test --target wasm32-wasip2 --all-features --lib
- name: Build powerset
working-directory: ./traceparent
run: cargo hack build --target wasm32-wasip2 --feature-powerset --lib