Skip to content

Commit a506585

Browse files
authored
ci: use very good pana workflow (#240)
1 parent a2b50fe commit a506585

File tree

4 files changed

+9
-68
lines changed

4 files changed

+9
-68
lines changed

.github/workflows/dart_frog.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,6 @@ jobs:
2323
working_directory: packages/dart_frog
2424

2525
pana:
26-
defaults:
27-
run:
28-
working-directory: packages/dart_frog
29-
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- uses: actions/checkout@v3
34-
- uses: dart-lang/setup-dart@v1
35-
36-
- name: Install Dependencies
37-
run: |
38-
dart pub get
39-
dart pub global activate pana
40-
- name: Verify Pub Score
41-
run: ../../tool/verify_pub_score.sh
26+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
27+
with:
28+
working_directory: packages/dart_frog

.github/workflows/dart_frog_cli.yaml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,6 @@ jobs:
5252
run: dart test -j 1
5353

5454
pana:
55-
defaults:
56-
run:
57-
working-directory: packages/dart_frog_cli
58-
59-
runs-on: ubuntu-latest
60-
61-
steps:
62-
- name: 📚 Git Checkout
63-
uses: actions/checkout@v3
64-
65-
- name: 🎯 Setup Dart
66-
uses: dart-lang/setup-dart@v1
67-
68-
- name: 📦 Install Dependencies
69-
run: |
70-
dart pub get
71-
dart pub global activate pana
72-
73-
- name: 📊 Verify Pub Score
74-
run: ../../tool/verify_pub_score.sh
55+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
56+
with:
57+
working_directory: packages/dart_frog_cli

.github/workflows/dart_frog_gen.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,6 @@ jobs:
3939
working_directory: packages/dart_frog_gen
4040

4141
pana:
42-
defaults:
43-
run:
44-
working-directory: packages/dart_frog_gen
45-
46-
runs-on: ubuntu-latest
47-
48-
steps:
49-
- uses: actions/checkout@v3
50-
- uses: dart-lang/setup-dart@v1
51-
52-
- name: Install Dependencies
53-
run: |
54-
dart pub get
55-
dart pub global activate pana
56-
- name: Verify Pub Score
57-
run: ../../tool/verify_pub_score.sh
42+
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/pana.yml@v1
43+
with:
44+
working_directory: packages/dart_frog_gen

tool/verify_pub_score.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)