This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
feat: move readme license and contributing files #12
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: Flutter CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
flutter: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
# Setup Flutter | |
- name: Setup Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
channel: stable | |
cache: true | |
- run: flutter --version | |
# Install dependencies | |
- name: Install Dependencies | |
run: flutter pub get | |
working-directory: frontend | |
# Analyze the code | |
- name: Run Flutter Analyze | |
run: flutter analyze | |
working-directory: frontend | |
# Run Tests | |
- name: Run Tests | |
run: flutter test | |
working-directory: frontend |