chore: expose invocation id #63
Workflow file for this run
This file contains hidden or 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
| name: PR | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| targets: wasm32-wasip2 | |
| components: clippy, rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Rustfmt | |
| run: cargo fmt -- --check | |
| - name: Clippy | |
| run: | | |
| cargo --version | |
| cargo clippy --version | |
| cargo clippy --all-targets --all-features -- -D warnings -W clippy::unwrap_used | |
| # Need to work something out here for the `wasm32-wasip2` target | |
| # - name: Run tests | |
| # run: cargo test --verbose |