-
Notifications
You must be signed in to change notification settings - Fork 85
41 lines (39 loc) · 915 Bytes
/
runnable.yml
File metadata and controls
41 lines (39 loc) · 915 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
35
36
37
38
39
40
41
name: Runnable (stable)
on:
push:
branches:
- main
- master
paths-ignore:
- "**.md"
pull_request:
branches:
- main
- master
paths-ignore:
- "**.md"
jobs:
run:
name: Analyze on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest ]
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Log Dart/Flutter versions
run: |
dart --version
flutter --version
- name: Prepare dependencies
run: flutter pub get
- name: Check Dart code formatting
run: dart format lib -o none --set-exit-if-changed
- name: Analyze Dart code
run: flutter analyze lib
- run: flutter pub get
- name: Build Example (Web)
run: cd example; flutter build web