Skip to content

Commit f5c1af6

Browse files
committed
Add lint workflow
1 parent 52a45e3 commit f5c1af6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/dart_frog_lint.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: dart_frog_lint
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/dart_frog.yaml"
7+
- "packages/dart_frog_lint/lib/**"
8+
- "packages/dart_frog_lint/test/**"
9+
- "packages/dart_frog_lint/pubspec.yaml"
10+
push:
11+
branches:
12+
- main
13+
paths:
14+
- ".github/workflows/dart_frog_lint.yaml"
15+
- "packages/dart_frog_lint/lib/**"
16+
- "packages/dart_frog_lint/test/**"
17+
- "packages/dart_frog_lint/pubspec.yaml"
18+
19+
jobs:
20+
build:
21+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1
22+
with:
23+
working_directory: packages/dart_frog
24+
25+
steps:
26+
- run: dart run custom_lint
27+
28+
pana:
29+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
30+
with:
31+
working_directory: packages/dart_frog

0 commit comments

Comments
 (0)