Bump flutter_lints from 2.0.1 to 2.0.3 #22
Workflow file for this run
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 | |
# This workflow is triggered on pull requests to the repository. | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
analyze: | |
# This job will run on ubuntu virtual machine | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
# Init actions | |
- name: Start Workflow | |
uses: actions/checkout@v2 | |
# Setup the flutter environment. | |
- name: Install Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
# Restore packages | |
- name: Restore packages | |
run: flutter pub get | |
# Statically analyze the Dart code for any errors. | |
- name: Flutter Analyze | |
run: flutter analyze . | |
test: | |
# This job will run on ubuntu virtual machine | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
# Init actions | |
- name: Start Workflow | |
uses: actions/checkout@v2 | |
# Setup the flutter environment. | |
- name: Install Flutter | |
uses: subosito/flutter-action@v1 | |
with: | |
channel: "stable" | |
# Restore packages | |
- name: Restore packages | |
run: flutter pub get | |
# Run tests for flutter project | |
- name: Flutter Test | |
run: flutter test |