feat: add student council mode #20
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: Lint & formatting | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: "3.22.3" | |
channel: "stable" | |
- run: flutter --version | |
- name: Install dependencies | |
run: dart pub get | |
- name: Example .env | |
run: cp .env.example .env | |
- name: Add firebase config | |
run: | | |
echo "${{ secrets.FIREBASE_CONFIG }}" | base64 --decode > lib/firebase_options.dart | |
- name: generate files | |
run: dart run build_runner build --delete-conflicting-outputs | |
- name: Verify formatting | |
run: dart format --output=none --set-exit-if-changed . | |
- name: Analyze project source | |
run: flutter analyze --fatal-infos |