Merge remote-tracking branch 'origin/master' #3
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: Test and Lint | |
on: | |
push: | |
jobs: | |
test: | |
name: Run test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
# flutter-version: '3.3.10' | |
channel: 'stable' | |
- name: Run pub get | |
run: flutter pub get | |
- name: Run test | |
run: flutter test | |
lint: | |
name: Run lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v2 | |
with: | |
# flutter-version: '3.3.10' | |
channel: 'stable' | |
- name: Run pub get | |
run: flutter pub get | |
- name: Run analyze | |
run: flutter analyze |