fix(deps): update opentelemetry #587
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, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
# This build image is compatable with AWS Linux 2 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: | |
- x86_64-unknown-linux-gnu | |
env: | |
RUSTFLAGS: "-C target-cpu=native" | |
RUST_BACKTRACE: full | |
name: Lint & Test | |
steps: | |
- name: Checkout source Git repo | |
uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- run: rustup toolchain install stable --profile minimal --target ${{ matrix.target }} | |
- run: rustup component add rustfmt clippy | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: cargo fetch | |
- run: cargo fmt -- --check --color always | |
- run: cargo clippy --all-targets --all-features -- -D warnings | |
- run: cargo test --release |