Skip to content

Commit b488b90

Browse files
committed
ci: update lint scripts
1 parent 5b3bc45 commit b488b90

File tree

2 files changed

+9
-27
lines changed

2 files changed

+9
-27
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
name: lint
22
on:
33
push:
4-
branches: [main]
4+
branches:
5+
- main
56
pull_request:
6-
branches: [main]
7+
branches:
8+
- main
79
jobs:
810
build:
911
runs-on: ubuntu-latest
10-
container:
11-
image: google/dart:latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- run: dartfmt --dry-run --set-exit-if-changed lib/*.dart lib/models/*.dart lib/scaffolds/*.dart lib/screens/*.dart lib/utils/*.dart lib/widgets/*.dart
14+
- uses: subosito/flutter-action@v1
15+
with:
16+
channel: stable
17+
- run: flutter analyze
18+
- run: flutter format --dry-run --set-exit-if-changed lib/**/*.dart

0 commit comments

Comments
 (0)