fix: use absolute path for tracing log #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: Test & Lint | |
# Make sure CI fails on all warnings, including Clippy lints | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: '1.76.0' | |
profile: minimal | |
override: true | |
target: wasm32-wasi | |
components: clippy | |
- name: Run Clippy | |
uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features --all-targets | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: jcbhmr/setup-wasmtime@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: '1.76.0' | |
profile: minimal | |
override: true | |
target: wasm32-wasi | |
components: clippy | |
- name: Install cargo wasi | |
run: cargo install cargo-wasi | |
- name: Run tests | |
run: cargo wasi test --lib -- --nocapture |