Prepare version 0.43.0 #415
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
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| name: CI | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b | |
| with: | |
| toolchain: stable | |
| - name: Run cargo build (trace only) | |
| run: cargo build --no-default-features --features trace | |
| - name: Run cargo build (logs only) | |
| run: cargo build --no-default-features --features logs | |
| - name: Run cargo build (metrics only) | |
| run: cargo build --no-default-features --features metrics | |
| - name: Run cargo test | |
| run: cargo test --all-features | |
| - name: Run cargo fmt | |
| run: cargo fmt -- --check | |
| - name: Run cargo clippy | |
| run: cargo clippy --all-features | |
| - name: Build tracing example | |
| run: cargo build --manifest-path examples/tracing/Cargo.toml | |
| check_external_types: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Install toolchain | |
| uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b | |
| with: | |
| toolchain: nightly-2025-05-04 | |
| components: rustfmt | |
| - name: Intall cargo-check-external-types | |
| uses: taiki-e/install-action@52039f232923165906a3c824622a332e84ca4560 # v2.52.0 | |
| with: | |
| tool: cargo-check-external-types@0.2.0 | |
| - name: Run cargo check-external-types | |
| run: cargo check-external-types --all-features |