diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index cf26962a..b479520c 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -10,5 +10,6 @@ jobs: with: ignore_coverage: "**.mock.dart,**.g.dart" ignore_license: "**.mock.dart,**.g.dart,**.mocks.dart,pkgs/platform/*" + sdk: beta permissions: pull-requests: write diff --git a/.github/workflows/lints.yaml b/.github/workflows/lints.yaml index 64f908d6..3845e73c 100644 --- a/.github/workflows/lints.yaml +++ b/.github/workflows/lints.yaml @@ -26,7 +26,8 @@ jobs: strategy: fail-fast: false matrix: - sdk: [dev, beta, stable] + # TODO: Re-add stable to the matrix once 3.8 is out. + sdk: [dev, beta] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index efc71f64..fbad8a33 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,6 +13,7 @@ jobs: if: ${{ github.repository_owner == 'dart-lang' }} uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main with: + sdk: beta write-comments: false permissions: id-token: write diff --git a/pkgs/lints/CHANGELOG.md b/pkgs/lints/CHANGELOG.md index 940673e0..49b93984 100644 --- a/pkgs/lints/CHANGELOG.md +++ b/pkgs/lints/CHANGELOG.md @@ -1,10 +1,10 @@ -## 6.0.0-wip +## 6.0.0 - `core`: - added [strict_top_level_inference] (https://github.com/dart-lang/core/issues/836) - `recommended`: - added [unnecessary_underscores] (https://github.com/dart-lang/core/issues/856) -- Require Dart 3.7. +- Require Dart 3.8. [strict_top_level_inference]: https://dart.dev/lints/strict_top_level_inference [unnecessary_underscores]: https://dart.dev/lints/unnecessary_underscores diff --git a/pkgs/lints/README.md b/pkgs/lints/README.md index f04a8e1b..5a127dd3 100644 --- a/pkgs/lints/README.md +++ b/pkgs/lints/README.md @@ -28,8 +28,8 @@ Additionally, a third lint set - recommended set with additional recommended Flutter-specific lints. The Dart team will likely not provide recommendations past the `core` and -`recommended` sets (e.g., a `strict` rule set). However, there are many such rule -sets in the ecosystem (available at [pub.dev](https://pub.dev/)). +`recommended` sets (e.g., a `strict` rule set). However, there are many such +rule sets in the ecosystem (available at [pub.dev](https://pub.dev/)). Rule set authors: consider adding the `lints` topic to your pubspec to allow easier discovery (e.g., diff --git a/pkgs/lints/pubspec.yaml b/pkgs/lints/pubspec.yaml index 171efe94..a6bc6364 100644 --- a/pkgs/lints/pubspec.yaml +++ b/pkgs/lints/pubspec.yaml @@ -1,5 +1,5 @@ name: lints -version: 6.0.0-wip +version: 6.0.0 description: > Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. @@ -11,7 +11,7 @@ topics: - lints environment: - sdk: ^3.7.0 + sdk: ^3.8.0-0 # NOTE: Code is not allowed in this package - do not add dependencies. # dependencies: