Skip to content

chore: sort import #419

chore: sort import

chore: sort import #419

Workflow file for this run

name: Analyze & Test project
on:
push:
branches:
- "*/*"
jobs:
test:
name: 🛠 Analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
cache: "gradle"
- uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH }}
name: id_rsa
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.4"
cache: true
- name: Dart Clean
run: flutter clean
- name: Install project dependencies
run: flutter pub get
- name: Dart Format Check
run: dart format lib/ --set-exit-if-changed
- name: Import Sorter Check
run: dart run import_sorter:main --no-comments --exit-if-changed
- name: Dart Analyze Check
run: flutter analyze