forked from widgetbook/widgetbook
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (25 loc) · 769 Bytes
/
common.yml
File metadata and controls
34 lines (25 loc) · 769 Bytes
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
name: common
on: pull_request
jobs:
semantic-pull-request:
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/semantic_pull_request.yml@v1
validate-uncommitted-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- name: Enable melos
run: dart pub global activate melos
- name: Get packages
run: melos bootstrap
- name: Generate Files
run: melos generate
- name: Generate diff
run: git --no-pager diff
- name: Validate all changes are committed
run: git diff-index HEAD --exit-code -p