Update dependency com.android.tools.build:gradle to v8 #68
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: native_image_cropper_macos | |
on: | |
push: | |
paths: | |
- 'native_image_cropper_macos/**' | |
- '.github/workflows/native_image_cropper_macos.yaml' | |
jobs: | |
build: | |
defaults: | |
run: | |
working-directory: native_image_cropper_macos | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: asdf-vm/actions/install@v3 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: .dart_tool/ | |
key: ${{ runner.os }}-dependencies-macos-${{ hashFiles('**/pubspec.lock') }} | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Format code | |
run: dart format --set-exit-if-changed . | |
- name: Analyze code | |
run: flutter analyze | |
- name: Run code metrics | |
run: dart run dart_code_metrics:metrics analyze . --set-exit-on-violation-level=warning --disable-sunset-warning | |
- name: Run tests | |
run: flutter test | |
pana: | |
defaults: | |
run: | |
working-directory: native_image_cropper_macos | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: asdf-vm/actions/install@v3 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: .dart_tool/ | |
key: ${{ runner.os }}-dependencies-macos-${{ hashFiles('**/pubspec.lock') }} | |
- name: Install Dependencies | |
run: | | |
flutter pub get | |
flutter pub global activate pana | |
- name: Verify Pub Score | |
run: ../tool/verify_pub_score.sh |