File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : mcp_examples
2+ permissions : read-all
3+
4+ on :
5+ # Run CI on all PRs (against any branch) and on pushes to the main branch.
6+ pull_request :
7+ paths :
8+ - ' .github/workflows/mcp_examples.yaml'
9+ - ' mcp_examples/**'
10+ push :
11+ branches : [ main ]
12+ paths :
13+ - ' .github/workflows/mcp_examples.yaml'
14+ - ' mcp_examples/**'
15+ schedule :
16+ - cron : ' 0 0 * * 0' # weekly
17+
18+ defaults :
19+ run :
20+ working-directory : mcp_examples
21+
22+ jobs :
23+ build :
24+ runs-on : ${{ matrix.os }}
25+ strategy :
26+ fail-fast : false
27+ matrix :
28+ sdk :
29+ - stable
30+ os :
31+ - ubuntu-latest
32+ steps :
33+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
34+ - uses : dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c
35+ with :
36+ sdk : ${{ matrix.sdk }}
37+
38+ - run : dart pub get
39+ - run : dart analyze --fatal-infos
40+ - run : dart format --output=none --set-exit-if-changed .
41+ if : ${{ matrix.sdk == 'stable' }}
You can’t perform that action at this time.
0 commit comments