Introduce load-balanced channel for OpenTelemetry exporters #5778
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: Cargo Native | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - '.github/styles/**' | |
| - 'web/**' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - '.github/styles/**' | |
| - 'web/**' | |
| permissions: read-all | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| env: | |
| RUSTFLAGS: -Dwarnings | |
| jobs: | |
| cargo-native: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, windows-2022] | |
| toolchain: [stable] | |
| name: ${{ matrix.os }} / ${{ matrix.toolchain }} | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: >- # v4.2.2 | |
| actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - name: Set up Rust toolchain | |
| run: rustup update && rustup default ${{ matrix.toolchain }} | |
| shell: bash | |
| - name: Rust cache | |
| # https://github.com/Swatinem/rust-cache/releases/tag/v2.8.1 | |
| uses: Swatinem/rust-cache@a84bfdc502f07db5a85dd9d7a30f91a931516cc5 | |
| - name: Build on ${{ runner.os }} | |
| run: cargo build --all --profile=smol | |
| - name: Test on ${{ runner.os }} | |
| run: cargo test --all --profile=smol | |
| - name: Check schema export | |
| run: cargo run --bin build-schema --features dev-schema --package nativelink-config |