Skip to content

Commit

Permalink
Merge pull request #128 from filiph/misc/cleanup-and-dart-3
Browse files Browse the repository at this point in the history
Update dependencies for Dart 3 and prepare for 3.1.0 release
  • Loading branch information
filiph committed Sep 3, 2023
2 parents 08d5d02 + 1926e61 commit 16da7b0
Show file tree
Hide file tree
Showing 7 changed files with 139 additions and 119 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI
on:
push: {branches: [master]}
push:
branches: [master]
pull_request:

jobs:
Expand All @@ -13,5 +14,5 @@ jobs:
- run: dart pub get
- run: dart analyze --fatal-warnings .
- run: dart format --set-exit-if-changed .
- run: dart run test -x integration
- run: dart test/e2e_test.dart
- run: dart test -x integration
- run: dart run test/e2e_test.dart
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.1.0

- Require Dart 3.0 or later
- Update to latest dependencies supporting Dart 3 and 3.1

## 3.0.0

- Require Dart 2.18 and support Dart 3
Expand Down
12 changes: 12 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,25 @@ analyzer:
linter:
rules:
- always_declare_return_types
- combinators_ordering
- comment_references
- dangling_library_doc_comments
- deprecated_member_use_from_same_package
- implicit_call_tearoffs
- implicit_reopen
- library_annotations
- matching_super_parameters
- no_literal_bool_comparisons
- omit_local_variable_types
- prefer_final_fields
- prefer_final_in_for_each
- prefer_final_locals
- prefer_single_quotes
- type_annotate_public_apis
- type_literal_in_constant_pattern
- unawaited_futures
- unnecessary_library_directive
- unreachable_from_main
- use_enums
- use_string_in_part_of_directives
- use_super_parameters
2 changes: 1 addition & 1 deletion lib/linkcheck.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const hostsFlag = 'hosts';
const inputFlag = 'input-file';
const redirectFlag = 'show-redirects';
const skipFlag = 'skip-file';
const version = '3.0.0';
const version = '3.1.0';
const versionFlag = 'version';
final _portOnlyRegExp = RegExp(r'^:\d+$');

Expand Down
Loading

0 comments on commit 16da7b0

Please sign in to comment.