-
-
Notifications
You must be signed in to change notification settings - Fork 287
59 lines (52 loc) · 1.47 KB
/
link.yml
File metadata and controls
59 lines (52 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: sentry-link
on:
push:
branches:
- main
- release/**
pull_request:
paths:
- '!**/*.md'
- '!**/class-diagram.svg'
- '.github/workflows/link.yml'
- '.github/workflows/analyze.yml'
- '.github/actions/dart-test/**'
- '.github/actions/coverage/**'
- '.github/actions/test-results/**'
- 'packages/dart/**'
- 'packages/link/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: '${{ matrix.os }} | ${{ matrix.sdk }}'
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [macos, ubuntu, windows]
sdk: [stable, beta]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: ./.github/actions/dart-test
with:
directory: packages/link
web: false
- uses: ./.github/actions/coverage
if: runner.os == 'Linux' && matrix.sdk == 'stable'
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: packages/link
coverage: sentry_link
min-coverage: 3
- uses: ./.github/actions/test-results
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: sentry_link-${{ runner.os }}-${{ matrix.sdk }}
analyze:
uses: ./.github/workflows/analyze.yml
with:
package: packages/link