This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
Build #1062
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: Build | |
on: | |
push: | |
branches: [develop] | |
pull_request: | |
branches: [develop] | |
schedule: | |
# runs the CI everyday at 10AM | |
- cron: "0 10 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: ⚙️ Get FVM Config | |
uses: kuhnroyal/flutter-fvm-config-action@v2 | |
id: fvm-config-action | |
- name: Install Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }} | |
channel: "any" | |
- name: Restore packages | |
run: flutter pub get | |
- name: Run tests | |
run: flutter test |