Skip to content

Merge branch 'main' of github.com:ente-io/motion_photo #26

Merge branch 'main' of github.com:ente-io/motion_photo

Merge branch 'main' of github.com:ente-io/motion_photo #26

Workflow file for this run

name: Flutter CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
flutter_version: "3.7.x"
java_version: "12.x"
jobs:
flutter_test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: ${{ env.java_version }}
- name: Cache Flutter dependencies
uses: actions/cache@v1
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-install-cache-${{ env.flutter_version }}
- uses: subosito/flutter-action@v1
with:
flutter-version: ${{ env.flutter_version }}
- name: Install dependencies
run: flutter pub get
- name: Run Formatter
run: flutter format --dry-run . --set-exit-if-changed
- name: Run Linter
run: flutter analyze