-
-
Notifications
You must be signed in to change notification settings - Fork 123
43 lines (41 loc) · 1.57 KB
/
dart_examples.yml
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
name: Dart Examples
on:
pull_request:
branches: [main]
paths:
- '.github/workflows/dart_examples.yml'
- 'analysis_options.yaml'
- 'pubspec.yaml'
- 'examples/manifest/**'
- 'examples/notepad/**'
- 'examples/shell_notify_icon/**'
- 'examples/tetris/**'
- 'examples/*.dart'
- 'packages/win32/lib/**'
- 'packages/win32/analysis_options.yaml'
- 'packages/win32/pubspec.yaml'
push:
branches: [main]
paths:
- '.github/workflows/dart_examples.yml'
- 'analysis_options.yaml'
- 'pubspec.yaml'
- 'examples/manifest/**'
- 'examples/notepad/**'
- 'examples/shell_notify_icon/**'
- 'examples/tetris/**'
- 'examples/*.dart'
- 'packages/win32/lib/**'
- 'packages/win32/analysis_options.yaml'
- 'packages/win32/pubspec.yaml'
jobs:
build:
uses: halildurmus/workflows/.github/workflows/dart_package.yml@main
with:
# Exclude the 'explorer', 'service_manager_cli', and 'task_manager'
# directories when analyzing and formatting the Dart files. They are
# analyzed and formatted in their own workflows below.
analyze_directories: $(find . -type f -not \( -path .*explorer/* -prune \) -not \( -path .*service_manager_cli/* -prune \) -not \( -path .*task_manager/* -prune \) -name '*.dart' -print)
format_directories: $(find . -type f -not \( -path .*explorer/* -prune \) -not \( -path .*service_manager_cli/* -prune \) -not \( -path .*task_manager/* -prune \) -name '*.dart' -print)
run_tests: false
working_directory: examples