Skip to content

Commit

Permalink
workflows/ci: add gen/diff job
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemolland committed Jun 6, 2023
1 parent d534770 commit 95e9edc
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,29 @@ on:
branches: ["*"]

jobs:
diff:
name: diff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter pub get
- name: Generate pigeon stubs
run: dart tool/gen_pigeon.dart
- name: Validate generated pigeon stubs don't differ from committed ones
run: dart tool/git_diff.dart -d .

analyze:
name: analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: master
channel: stable
cache: true
- run: flutter pub get
- run: flutter analyze
Expand All @@ -25,7 +40,7 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: master
channel: stable
cache: true
- run: flutter pub get
- run: flutter test

0 comments on commit 95e9edc

Please sign in to comment.