We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf49331 commit 139d3b2Copy full SHA for 139d3b2
.github/workflows/static-analysis.yaml
@@ -0,0 +1,30 @@
1
+name: Static Analysis
2
+on:
3
+ push:
4
+ pull_request:
5
+
6
+jobs:
7
+ static-analysis:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: subosito/flutter-action@v2
13
+ - name: Pub get
14
+ run: flutter pub get
15
+ - name: Format
16
+ run: flutter format . --set-exit-if-changed
17
+ - name: Analyze
18
+ run: flutter analyze
19
+ - name: Embedme
20
+ run: |
21
+ npm install embedme
22
+ npx embedme README.md --verify
23
+ # - name: Build runner
24
+ # run: |
25
+ # flutter pub run build_runner build --delete-conflicting-outputs
26
+ # git diff --exit-code
27
+ - name: Pana
28
29
+ flutter pub global activate pana
30
+ pana --no-warning --exit-code-threshold 0
0 commit comments