made the linter happy, has no affect on the package itself #130
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 CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Run linter | |
run: flutter analyze | |
- name: Run tests | |
run: flutter test | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
- run: dart format . | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update formatted files | |
file_pattern: "*.dart" |