File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 22# building, and deploying using Github Actions.
33name : Flutter CI
44
5- # Controls when the action will run.
5+ # Controls when the action will run.
66on :
77 # Triggers the workflow on push or pull request events but only for the main branch
88 push :
@@ -32,19 +32,19 @@ jobs:
3232 - uses : subosito/flutter-action@v1
3333 with :
3434 channel : ' stable'
35-
35+
3636 # Get flutter dependencies.
3737 - run : flutter pub get
38-
38+
3939 # Check for any formatting issues in the code.
4040 - run : flutter format --set-exit-if-changed lib/ test/
41-
41+
4242 # Statically analyze the Dart code for any errors.
4343 - run : flutter analyze --no-current-package lib/ test/
44-
44+
4545 # Run widget tests for our flutter project.
4646 - run : flutter test --no-pub --coverage
47-
47+
4848 - name : Upload coverage to Codecov
4949 uses : codecov/codecov-action@v1
5050 with :
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ release:
2323 # repository.
2424 script : |-
2525 sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml
26- sed -i "/\[Unreleased \]/a\\\n## [$tag] - $(date '+%F')" CHANGELOG.md
26+ sed -i "/\[[Uu]nreleased \]/a\\\n## [$tag] - $(date '+%F')" CHANGELOG.md
2727 mkdir -p ~/.pub-cache
2828 mv ../credentials.json ~/.pub-cache/credentials.json
2929 flutter pub publish -f
You can’t perform that action at this time.
0 commit comments