-
-
Notifications
You must be signed in to change notification settings - Fork 126
44 lines (42 loc) · 1.56 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
44
name: Dart Examples
on:
pull_request:
paths:
- .github/workflows/dart_examples.yml
- analysis_options.yaml
- pubspec.yaml
- examples/com_interop/*
- 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/com_interop/*
- 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.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.
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