Skip to content

Commit e0308bf

Browse files
Create Flutter Analyzer action
1 parent 582585a commit e0308bf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/analyzer.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Flutter Analyze
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
pull_request_target:
8+
branches: ["main"]
9+
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: subosito/flutter-action@v2
20+
with:
21+
flutter-version: "3.29.2"
22+
channel: "stable"
23+
24+
- name: Get dependencies
25+
run: flutter pub get
26+
27+
- name: Analyze project source
28+
run: flutter analyze

0 commit comments

Comments
 (0)