Skip to content

feat: do not send tokio events to opentelemetry server #24

feat: do not send tokio events to opentelemetry server

feat: do not send tokio events to opentelemetry server #24

Workflow file for this run

name: Check Features
permissions: read-all
on:
pull_request:
branches:
- '*'
paths:
- 'src/**'
- '.github/workflows/check-features.yml'
- 'justfile'
- 'Cargo.toml'
push:
branches:
- main
paths:
- 'Cargo.lock'
- 'Cargo.toml'
workflow_dispatch:
jobs:
check_features:
name: Check Features
runs-on: ubuntu-latest
timeout-minutes: 35
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Cargo Registry and Target Directory
uses: actions/[email protected]
id: cache-cargo
with:
path: |
~/.cargo/registry
~/.cargo/git
~/.cargo/bin
target
key: ${{ runner.os }}-v2-cargo-check-${{ hashFiles('Cargo.lock', 'Cargo.toml') }}
restore-keys: |
${{ runner.os }}-v2-cargo-check-
- name: Set up Rust
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- name: Install protoc
run: sudo apt-get install -y protobuf-compiler
- name: Set up Just
uses: extractions/setup-just@v1
- name: Set up Test Dependencies
if: ${{ steps.cache-cargo.outputs.cache-hit != 'true' }}
run: |
cargo install killport || true
cargo install wait-service || true
cargo install cargo-hack || true
- name: Run cargo checks
run: just check-features
env:
CARGO_PROFILE_RELEASE_DEBUG: 0
RUST_LOG: off
RELEASE: 1