Skip to content

feat!: Dart SDK compatibility #153

feat!: Dart SDK compatibility

feat!: Dart SDK compatibility #153

Triggered via pull request December 20, 2024 08:56
Status Failure
Total duration 1m 29s
Artifacts

cicd.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 4 warnings, and 10 notices
test
122 tests passed, 4 failed.
test
Process completed with exit code 1.
format
Process completed with exit code 1.
analyze
Dart Analyzer detected problems, see the logs for more information.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
analyze
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
dartdoc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
The part-of directive uses a library name.: packages/tiled/lib/src/common/color.dart#L1
Try converting the directive to use the URI of the library. See https://dart.dev/diagnostics/use_string_in_part_of_directives to learn more about this problem.
The line length exceeds the 80-character limit.: packages/tiled/lib/src/common/color.dart#L18
Try breaking the line across multiple lines. See https://dart.dev/lints/lines_longer_than_80_chars to learn more about this problem.
Use 'const' with the constructor to improve performance.: packages/tiled/lib/src/common/property.dart#L40
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.
The line length exceeds the 80-character limit.: packages/tiled/lib/src/layer.dart#L80
Try breaking the line across multiple lines. See https://dart.dev/lints/lines_longer_than_80_chars to learn more about this problem.
Use 'const' with the constructor to improve performance.: packages/tiled/lib/src/layer.dart#L331
Try adding the 'const' keyword to the constructor invocation. See https://dart.dev/diagnostics/prefer_const_constructors to learn more about this problem.
The value of the argument is redundant because it matches the default value.: packages/tiled/lib/src/layer.dart#L423
Try removing the argument. See https://dart.dev/lints/avoid_redundant_argument_values to learn more about this problem.
Unnecessary use of double quotes.: packages/tiled/test/color.dart#L8
Try using single quotes unless the string contains single quotes. See https://dart.dev/diagnostics/prefer_single_quotes to learn more about this problem.
Unnecessary use of double quotes.: packages/tiled/test/color.dart#L9
Try using single quotes unless the string contains single quotes. See https://dart.dev/diagnostics/prefer_single_quotes to learn more about this problem.
Sort directive sections alphabetically.: packages/tiled/test/image_layer_test.dart#L4
Try sorting the directives. See https://dart.dev/lints/directives_ordering to learn more about this problem.
Sort directive sections alphabetically.: packages/tiled/test/parser_test.dart#L5
Try sorting the directives. See https://dart.dev/lints/directives_ordering to learn more about this problem.