Hotfixes #165
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: Check Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v4 | |
- name: 🐦 Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3" | |
- name: 📦 Install Dependencies | |
run: flutter packages get | |
- name: ✨ Check Formatting | |
run: dart format --set-exit-if-changed lib test | |
- name: ⚙️ Code Generation | |
run: dart run build_runner build --delete-conflicting-outputs | |
- name: 🕵️ Analyze | |
run: flutter analyze lib | |