workflows

This commit is contained in:
Marco 2022-08-26 20:35:41 +08:00
parent 7144baf02e
commit e2b8739ced

19
.github/workflows/test.yaml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Prepare repository
uses: actions/checkout@v3
with:
flutter-version: '3.0.5'
channel: 'stable'
- name: Install Flutter
uses: subosito/flutter-action@v2
- name: Get dependencies
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Test
run: flutter test