merge fixes
diff --git a/.github/labeler.yml b/.github/labeler.yml index eca80bb..de033db 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml
@@ -84,6 +84,10 @@ - changed-files: - any-glob-to-any-file: 'pkgs/source_map_stack_trace/**' +'package:source_span': + - changed-files: + - any-glob-to-any-file: 'pkgs/source_span/**' + 'package:unified_analytics': - changed-files: - any-glob-to-any-file: 'pkgs/unified_analytics/**'
diff --git a/pkgs/source_span/.github/workflows/test-package.yml b/.github/workflows/source_span.yaml similarity index 85% rename from pkgs/source_span/.github/workflows/test-package.yml rename to .github/workflows/source_span.yaml index c8f1f52..2c2ba05 100644 --- a/pkgs/source_span/.github/workflows/test-package.yml +++ b/.github/workflows/source_span.yaml
@@ -1,17 +1,28 @@ -name: Dart CI +name: package:source_span on: # Run on PRs and pushes to the default branch. push: - branches: [ master ] + branches: [ main ] + paths: + - '.github/workflows/source_span.yml' + - 'pkgs/source_span/**' pull_request: - branches: [ master ] + branches: [ main ] + paths: + - '.github/workflows/source_span.yml' + - 'pkgs/source_span/**' schedule: - cron: "0 0 * * 0" env: PUB_ENVIRONMENT: bot.github + +defaults: + run: + working-directory: pkgs/source_span/ + jobs: # Check code formatting and static analysis on a single OS (linux) # against Dart dev.
diff --git a/README.md b/README.md index 50517c3..6b4fcf8 100644 --- a/README.md +++ b/README.md
@@ -34,6 +34,7 @@ | [mime](pkgs/mime/) | Utilities for handling media (MIME) types, including determining a type from a file extension and file contents. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Amime) | [](https://pub.dev/packages/mime) | | [oauth2](pkgs/oauth2/) | A client library for authenticating with a remote service via OAuth2 on behalf of a user, and making authorized HTTP requests with the user's OAuth2 credentials. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aoauth2) | [](https://pub.dev/packages/oauth2) | | [source_map_stack_trace](pkgs/source_map_stack_trace/) | A package for applying source maps to stack traces. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_map_stack_trace) | [](https://pub.dev/packages/source_map_stack_trace) | +| [source_span](pkgs/source_span/) | Provides a standard representation for source code locations and spans. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Asource_span) | [](https://pub.dev/packages/source_span) | | [unified_analytics](pkgs/unified_analytics/) | A package for logging analytics for all Dart and Flutter related tooling to Google Analytics. | [](https://github.com/dart-lang/tools/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aunified_analytics) | [](https://pub.dev/packages/unified_analytics) | ## Publishing automation
diff --git a/pkgs/source_span/.github/dependabot.yml b/pkgs/source_span/.github/dependabot.yml deleted file mode 100644 index eeaa9d9..0000000 --- a/pkgs/source_span/.github/dependabot.yml +++ /dev/null
@@ -1,16 +0,0 @@ -# Set update schedule for GitHub Actions -# See https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot - -version: 2 -updates: - -- package-ecosystem: github-actions - directory: / - schedule: - interval: monthly - labels: - - autosubmit - groups: - github-actions: - patterns: - - "*"
diff --git a/pkgs/source_span/.github/workflows/publish.yaml b/pkgs/source_span/.github/workflows/publish.yaml deleted file mode 100644 index 2239b63..0000000 --- a/pkgs/source_span/.github/workflows/publish.yaml +++ /dev/null
@@ -1,14 +0,0 @@ -# A CI configuration to auto-publish pub packages. - -name: Publish - -on: - pull_request: - branches: [ master ] - push: - tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ] - -jobs: - publish: - if: ${{ github.repository_owner == 'dart-lang' }} - uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
diff --git a/pkgs/source_span/CHANGELOG.md b/pkgs/source_span/CHANGELOG.md index f46c161..b8319d7 100644 --- a/pkgs/source_span/CHANGELOG.md +++ b/pkgs/source_span/CHANGELOG.md
@@ -1,6 +1,7 @@ -## 1.10.1-wip +## 1.10.1 * Require Dart 3.1 +* Move to `dart-lang/tools` monorepo. ## 1.10.0
diff --git a/pkgs/source_span/README.md b/pkgs/source_span/README.md index 0faf0cb..b4ce25f 100644 --- a/pkgs/source_span/README.md +++ b/pkgs/source_span/README.md
@@ -1,4 +1,4 @@ -[](https://github.com/dart-lang/source_span/actions/workflows/test-package.yml) +[](https://github.com/dart-lang/tools/actions/workflows/source_span.yaml) [](https://pub.dev/packages/source_span) [](https://pub.dev/packages/source_span/publisher)
diff --git a/pkgs/source_span/pubspec.yaml b/pkgs/source_span/pubspec.yaml index 9c39d14..8757b2d 100644 --- a/pkgs/source_span/pubspec.yaml +++ b/pkgs/source_span/pubspec.yaml
@@ -1,5 +1,5 @@ name: source_span -version: 1.10.1-wip +version: 1.10.1 description: >- Provides a standard representation for source code locations and spans. repository: https://github.com/dart-lang/tools/tree/main/pkgs/source_span