Skip to content

package upgraded

package upgraded #94

name: code analysis & formatting
on: [push, pull_request]
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- uses: subosito/flutter-action@v2.8.0
- name: Version
run: flutter doctor -v
- name: Install dependencies
run: flutter pub get
- name: Linter
run: flutter analyze
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '11'
- uses: subosito/flutter-action@v2.8.0
- name: Format
run: flutter format -n --set-exit-if-changed .