Initial commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
channel: stable
|
||||
|
||||
- name: Root pub get
|
||||
run: flutter pub get
|
||||
|
||||
- name: Example pub get
|
||||
working-directory: example
|
||||
run: flutter pub get
|
||||
|
||||
- name: Format check
|
||||
run: dart format --output=none --set-exit-if-changed .
|
||||
|
||||
- name: Analyze root
|
||||
run: flutter analyze
|
||||
|
||||
- name: Tests
|
||||
run: flutter test
|
||||
|
||||
- name: Outdated root
|
||||
run: flutter pub outdated
|
||||
|
||||
- name: Outdated example
|
||||
working-directory: example
|
||||
run: flutter pub outdated
|
||||
|
||||
- name: Dartdoc dry-run
|
||||
run: dart doc --dry-run
|
||||
|
||||
- name: Publish dry-run
|
||||
run: dart pub publish --dry-run
|
||||
|
||||
- name: Pana
|
||||
run: |
|
||||
dart pub global activate pana
|
||||
pana .
|
||||
Reference in New Issue
Block a user