Merge pull request #316 from Escaton615/estimateaffinepartial2dfix #586
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
on: | |
push: | |
name: Format Code | |
jobs: | |
build: | |
name: format code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Flutter | |
uses: subosito/flutter-action@v1 | |
- name: Format code | |
run: | | |
dart format --line-length 110 \ | |
$(find packages -name '*.dart' -not -name '*.g.dart' -and -not -name '*.freezed.dart') | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "dart format ✅" | |
branch: ${{ github.head_ref }} |