Skip to content

Update dependency gradle to v8 #43

Update dependency gradle to v8

Update dependency gradle to v8 #43

name: native_image_cropper_android
on:
push:
paths:
- 'native_image_cropper_android/**'
- '.github/workflows/native_image_cropper_android.yaml'
pull_request:
paths:
- 'native_image_cropper_android/**'
- '.github/workflows/native_image_cropper_android.yaml'
jobs:
lint:
defaults:
run:
working-directory: native_image_cropper_android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Code metrics
run: dart run dart_code_metrics:metrics analyze . --set-exit-on-violation-level=warning --disable-sunset-warning
style:
defaults:
run:
working-directory: native_image_cropper_android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter pub get
- name: Format
run: dart format --set-exit-if-changed .
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: native_image_cropper_android
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: flutter pub get
- name: Run tests
run: flutter test
pana:
defaults:
run:
working-directory: native_image_cropper_android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/[email protected]
- name: Install Dependencies
run: |
flutter pub get
flutter pub global activate pana
- name: Verify Pub Score
run: ../tool/verify_pub_score.sh