mirror of
https://github.com/foss42/apidash.git
synced 2025-06-30 21:06:43 +08:00
add analysis workflow
This commit is contained in:
22
.github/workflows/analyze.yml
vendored
Normal file
22
.github/workflows/analyze.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: "Code Analysis"
|
||||||
|
on: [ push ]
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Flutter-Analyze:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: pwd
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Get Flutter Env
|
||||||
|
uses: subosito/flutter-action@v2
|
||||||
|
with:
|
||||||
|
channel: 'stable'
|
||||||
|
- run: flutter --version
|
||||||
|
|
||||||
|
- name: Code Analysis
|
||||||
|
run: |
|
||||||
|
flutter pub get
|
||||||
|
flutter analyze
|
Reference in New Issue
Block a user