Remove sentry
frames if SDK falls back to current stack trace
#5063
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: sentry-logging | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
paths: | |
- '!**/*.md' | |
- '!**/class-diagram.svg' | |
- '.github/workflows/logging.yml' | |
- 'dart/**' | |
- 'logging/**' | |
jobs: | |
cancel-previous-workflow: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # [email protected] | |
with: | |
access_token: ${{ github.token }} | |
build: | |
name: Build ${{matrix.sdk}} on ${{matrix.os}} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
sdk: [stable, beta] | |
exclude: | |
- os: windows-latest | |
sdk: beta | |
- os: macos-latest | |
sdk: beta | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/dart-test | |
with: | |
directory: logging | |
- uses: ./.github/actions/coverage | |
if: runner.os == 'Linux' && matrix.sdk == 'stable' | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: logging | |
coverage: sentry_logging | |
min-coverage: 90 | |
analyze: | |
uses: ./.github/workflows/analyze.yml | |
with: | |
package: logging |