chore(deps): update rust crate sentry to 0.46 #1292
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: Rust | |
| on: | |
| push: | |
| branches: ["master"] | |
| paths-ignore: | |
| - "docs/**" | |
| pull_request: | |
| branches: ["master"] | |
| paths-ignore: | |
| - "docs/**" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| code-coverage: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| CARGO_TERM_COLOR: always | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install deps | |
| run: | | |
| sudo apt-get update | |
| sudo apt install -y libsoxr-dev libopus-dev libssl-dev | |
| - uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| version: "25.1" | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@cargo-llvm-cov | |
| - name: Running cargo test | |
| run: cargo test --all-features --workspace | |
| - name: Generate code coverage | |
| run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
| files: lcov.info | |
| fail_ci_if_error: false | |
| cargo-deny: | |
| name: cargo-deny | |
| # TODO: remove this matrix when https://github.com/EmbarkStudios/cargo-deny/issues/324 is resolved | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: | |
| - x86_64-unknown-linux-gnu | |
| # - x86_64-unknown-linux-musl | |
| - aarch64-unknown-linux-gnu | |
| # - arm-unknown-linux-gnueabihf | |
| # - armv7-unknown-linux-gnueabihf | |
| # - mips-unknown-linux-gnu | |
| # - mips64-unknown-linux-gnuabi64 | |
| # - mips64el-unknown-linux-gnuabi64 | |
| # - mipsel-unknown-linux-gnu | |
| # - aarch64-unknown-linux-musl | |
| - x86_64-apple-darwin | |
| - aarch64-apple-darwin | |
| # - x86_64-pc-windows-gnu | |
| # - x86_64-pc-windows-msvc | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: EmbarkStudios/cargo-deny-action@v1 | |
| with: | |
| command: check | |
| log-level: error | |
| arguments: --all-features --target ${{ matrix.platform }} |