Update README.md #16
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: Dart and Flutter CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Set up Flutter using a specific action | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.10.6' # Specify your Flutter version here | |
# Install dependencies | |
- name: Install dependencies | |
run: flutter pub get | |
# Uncomment this step to verify the use of 'dart format' on each commit. | |
# - name: Verify formatting | |
# run: dart format --output=none --set-exit-if-changed . | |
# Analyze project source | |
- name: Analyze project source | |
run: flutter analyze | |
# Run tests | |
- name: Run tests | |
run: flutter test |