-
Notifications
You must be signed in to change notification settings - Fork 523
36 lines (33 loc) · 876 Bytes
/
flutter.yaml
File metadata and controls
36 lines (33 loc) · 876 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
name: Build
on:
push:
paths:
- '**.dart'
- '**.yaml'
- '**.yml'
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.0'
cache: true
cache-key: 'flutter-macos-stable-3.10.0-apple'
cache-path: '${{ runner.tool_cache }}/flutter/macos-stable-3.10.0-apple'
pub-cache-key: 'flutter-pub-macos-stable-3.10.0-apple'
- name: Install dependencies
run: flutter pub get
- name: Code Formatting
run: dart format --set-exit-if-changed .
- name: Code Analyse
run: dart analyze
- name: Check Publish Warnings
run: flutter pub publish --dry-run