Merge pull request #38 from NextFaze/feature/error-status #85
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 and Test | |
on: [push] | |
jobs: | |
job-tests: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: 'Fetch packages' | |
run: flutter pub get | |
- name: Build generated files | |
run: flutter pub run build_runner build | |
- name: 'Analyze project' | |
run: flutter analyze | |
- name: 'Run tests' | |
run: flutter test |