mobile_nebula/.github/workflows/flutterfmt.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
628 B
YAML
Raw Permalink Normal View History

2021-05-03 21:55:51 +00:00
name: Flutter format
on:
push:
branches:
- main
pull_request:
paths:
- '.github/workflows/flutterfmt.yml'
- '.github/workflows/flutterfmt.sh'
- '**.dart'
jobs:
gofmt:
name: Run flutter format
runs-on: ubuntu-latest
steps:
- name: Install flutter
2023-05-12 17:42:58 +00:00
uses: subosito/flutter-action@v2
2021-05-03 21:55:51 +00:00
with:
flutter-version: '3.24.1'
2021-05-03 21:55:51 +00:00
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: false
2021-05-03 21:55:51 +00:00
- name: Check formating
run: dart format -l120 lib/ --set-exit-if-changed --suppress-analytics --output none