Skip to content

Commit b5d8113

Browse files
Merge branch 'main' into dependabot/github_actions/webfactory/ssh-agent-0.9.1
2 parents ebc9ded + c1c533f commit b5d8113

File tree

6 files changed

+14
-19
lines changed

6 files changed

+14
-19
lines changed

.github/workflows/dart_package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ on:
2626
format_line_length:
2727
required: false
2828
type: string
29-
default: "80"
3029
min_coverage:
3130
required: false
3231
type: number
@@ -100,7 +99,7 @@ jobs:
10099
run: ${{inputs.setup}}
101100

102101
- name: ✨ Check Formatting
103-
run: dart format --line-length ${{inputs.format_line_length}} --set-exit-if-changed ${{inputs.format_directories}}
102+
run: dart format ${{inputs.format_line_length && format('--line-length {0}', inputs.format_line_length) || ''}} --set-exit-if-changed ${{inputs.format_directories}}
104103

105104
- name: 🕵️ Analyze
106105
run: dart analyze --fatal-infos --fatal-warnings ${{inputs.analyze_directories}}

.github/workflows/flutter_package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ on:
3030
format_line_length:
3131
required: false
3232
type: string
33-
default: "80"
3433
min_coverage:
3534
required: false
3635
type: number
@@ -101,7 +100,7 @@ jobs:
101100
run: ${{inputs.setup}}
102101

103102
- name: ✨ Check Formatting
104-
run: dart format --line-length ${{inputs.format_line_length}} --set-exit-if-changed ${{inputs.format_directories}}
103+
run: dart format ${{inputs.format_line_length && format('--line-length {0}', inputs.format_line_length) || ''}} --set-exit-if-changed ${{inputs.format_directories}}
105104

106105
- name: 🕵️ Analyze
107106
run: flutter analyze ${{inputs.analyze_directories}}

site/docs/workflows/dart_package.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ The Dart package workflow consists of the following steps:
4040

4141
**Optional** The preferred line length preferred for running the `dart format` command. Be aware that this does not change the behavior of the analysis step and longer lines could still make the workflow fail if the rule `lines_longer_than_80_chars` is used.
4242

43-
**Default** `"80"`
44-
4543
### `min_coverage`
4644

4745
**Optional** The minimum coverage percentage allowed.

site/docs/workflows/flutter_package.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ The Flutter package workflow consists of the following steps:
5858

5959
**Optional** The preferred line length preferred for running the `dart format` command. Be aware that this does not change the behavior of the analysis step and longer lines could still make the workflow fail if the rule `lines_longer_than_80_chars` is used.
6060

61-
**Default** `"80"`
62-
6361
### `min_coverage`
6462

6563
**Optional** The minimum coverage percentage allowed.
@@ -121,7 +119,7 @@ jobs:
121119
build:
122120
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/flutter_package.yml@v1
123121
with:
124-
coverage_excludes: '*.g.dart'
122+
coverage_excludes: '**/*.g.dart'
125123
flutter_channel: 'stable'
126124
flutter_version: '3.24.0'
127125
working_directory: 'examples/my_flutter_package'

site/package-lock.json

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"react-dom": "^18.3.1"
2929
},
3030
"devDependencies": {
31-
"@babel/eslint-parser": "^7.25.9",
31+
"@babel/eslint-parser": "^7.27.0",
3232
"@docusaurus/eslint-plugin": "^3.7.0",
3333
"@docusaurus/module-type-aliases": "3.7.0",
3434
"@docusaurus/tsconfig": "3.7.0",
@@ -38,7 +38,7 @@
3838
"globals": "^15.14.0",
3939
"jest": "^29.7.0",
4040
"prettier": "^3.4.2",
41-
"typescript": "~5.7.2"
41+
"typescript": "~5.8.3"
4242
},
4343
"browserslist": {
4444
"production": [

0 commit comments

Comments
 (0)