update the CI config and changelog
diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..2144819 --- /dev/null +++ b/.github/dependabot.yaml
@@ -0,0 +1,8 @@ +# Dependabot configuration file. +version: 2 + +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly"
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3a2924f..6dab649 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml
@@ -1,4 +1,4 @@ -name: ci +name: Dart on: schedule: @@ -18,10 +18,10 @@ strategy: fail-fast: false matrix: - sdk: [dev, 2.12.0] + sdk: [dev, 2.14.0] steps: - - uses: actions/checkout@v2 - - uses: dart-lang/setup-dart@v1.0 + - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 + - uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d with: sdk: ${{ matrix.sdk }} - run: dart pub get
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a63c4a..ffbc073 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,3 +1,9 @@ +## 2.0.1 + +- Remove the dependency on `package:quiver`. +- Require Dart 2.14.0. +- Switch to using `package:lints/recommended.yaml` for analysis. + ## 2.0.0 - Stable null safety release.
diff --git a/README.md b/README.md index 8e33daf..fbc0bc3 100644 --- a/README.md +++ b/README.md
@@ -1,4 +1,8 @@ -[](https://github.com/google/tuple.dart/actions?query=branch%3Amaster) +[](https://github.com/google/tuple.dart/actions/workflows/dart.yaml) +[](https://pub.dev/packages/tuple) +[](https://pub.dev/packages/tuple/publisher) + +A library providing a tuple data structure. ## Usage example
diff --git a/analysis_options.yaml b/analysis_options.yaml index d77937e..1498fff 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml
@@ -1,76 +1,6 @@ -include: package:pedantic/analysis_options.yaml +include: package:lints/recommended.yaml analyzer: - strong-mode: - implicit-casts: false - -linter: - rules: - - avoid_bool_literals_in_conditional_expressions - - avoid_catching_errors - - avoid_classes_with_only_static_members - - avoid_dynamic_calls - - avoid_empty_else - - avoid_function_literals_in_foreach_calls - - avoid_private_typedef_functions - - avoid_redundant_argument_values - - avoid_renaming_method_parameters - - avoid_returning_null - - avoid_returning_null_for_future - - avoid_returning_null_for_void - - avoid_returning_this - - avoid_unused_constructor_parameters - - avoid_void_async - - camel_case_types - - cancel_subscriptions - - cascade_invocations - - comment_references - - constant_identifier_names - - control_flow_in_finally - - directives_ordering - - empty_statements - - file_names - - hash_and_equals - - implementation_imports - - iterable_contains_unrelated_type - - join_return_with_assignment - - lines_longer_than_80_chars - - list_remove_unrelated_type - - literal_only_boolean_expressions - - missing_whitespace_between_adjacent_strings - - no_adjacent_strings_in_list - - no_runtimeType_toString - - non_constant_identifier_names - - only_throw_errors - - overridden_fields - - package_api_docs - - package_names - - package_prefixed_library_names - - prefer_asserts_in_initializer_lists - - prefer_const_constructors - - prefer_const_declarations - - prefer_expression_function_bodies - - prefer_final_locals - - prefer_function_declarations_over_variables - - prefer_initializing_formals - - prefer_interpolation_to_compose_strings - - prefer_is_not_operator - - prefer_null_aware_operators - - prefer_relative_imports - - prefer_typing_uninitialized_variables - - prefer_void_to_null - - provide_deprecation_message - - sort_pub_dependencies - - test_types_in_equals - - throw_in_finally - - type_annotate_public_apis - - unnecessary_await_in_return - - unnecessary_lambdas - - unnecessary_null_aware_assignments - - unnecessary_overrides - - unnecessary_parenthesis - - unnecessary_statements - - unnecessary_string_interpolations - - use_is_even_rather_than_modulo - - use_string_buffers - - void_checks + language: + strict-casts: true + strict-inference: true
diff --git a/pubspec.yaml b/pubspec.yaml index f7126c7..0f1353a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,7 +1,6 @@ name: tuple -version: 2.0.0 - -description: Tuple data structure +version: 2.0.1 +description: A library providing a tuple data structure. repository: https://github.com/google/tuple.dart environment: @@ -10,5 +9,5 @@ dependencies: dev_dependencies: - pedantic: ^1.10.0 + lints: ^1.0.0 test: ^1.16.0