Release tracing-opentelemetry-instrumentation-sdk v0.14.2 #182
Workflow file for this run
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
--- | |
name: ci | |
on: | |
push: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
# rust: [stable] | |
rust: ["1.70"] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Install Protoc | |
# uses: arduino/setup-protoc@v1 | |
# with: | |
# repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install Rust ${{ matrix.rust }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
override: true | |
components: clippy | |
- name: Cache cargo registry | |
uses: actions/cache@v3 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: cargo-hack,protoc | |
- run: cargo hack check --each-feature --no-dev-deps | |
- run: cargo clippy --workspace --all-features --all-targets -- --deny warnings --allow deprecated --allow unknown-lints | |
- run: cargo hack test --each-feature -- --test-threads=1 |