Skip to content

Commit 188a0fa

Browse files
committed
build_runnerを実行済みか確認するジョブを追加
1 parent c40deae commit 188a0fa

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/dart_test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,24 @@ jobs:
9494
with:
9595
token: ${{secrets.CODECOV_TOKEN}}
9696
file: ~/coverage/lcov.info
97+
98+
check-build-diff:
99+
runs-on: ubuntu-latest
100+
101+
needs: get-flutter-version
102+
103+
steps:
104+
- uses: actions/checkout@v4
105+
106+
- name: Install Flutter
107+
uses: subosito/flutter-action@v2
108+
with:
109+
channel: 'stable'
110+
flutter-version: ${{ needs.get-flutter-version.outputs.flutter-version }}
111+
cache: true
112+
113+
- name: Run build_runner
114+
run: dart run build_runner build -d
115+
116+
- name: Check diff
117+
run: git diff --exit-code

0 commit comments

Comments
 (0)