Moving fixes
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 62e1bfa..fc3f504 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -3,3 +3,7 @@
"package-args":
- changed-files:
- any-glob-to-any-file: 'pkgs/args/**'
+
+"package-fake_async":
+ - changed-files:
+ - any-glob-to-any-file: 'pkgs/fake_async/**'
diff --git a/pkgs/fake_async/.github/workflows/test-package.yml b/.github/workflows/fake_async.yaml
similarity index 84%
rename from pkgs/fake_async/.github/workflows/test-package.yml
rename to .github/workflows/fake_async.yaml
index 9509196..fbf3424 100644
--- a/pkgs/fake_async/.github/workflows/test-package.yml
+++ b/.github/workflows/fake_async.yaml
@@ -1,17 +1,26 @@
name: Dart CI
on:
- # Run on PRs and pushes to the default branch.
+ # Run CI on pushes to the main branch, and on PRs against main.
push:
- branches: [ master ]
+ branches: [ main ]
+ paths:
+ - '.github/workflows/fake_async.yaml'
+ - 'pkgs/fake_async/**'
pull_request:
- branches: [ master ]
+ branches: [ main ]
+ paths:
+ - '.github/workflows/fake_async.yaml'
+ - 'pkgs/fake_async/**'
schedule:
- cron: "0 0 * * 0"
-
env:
PUB_ENVIRONMENT: bot.github
+defaults:
+ run:
+ working-directory: pkgs/fake_async/
+
jobs:
# Check code formatting and static analysis on a single OS (linux)
# against Dart dev.
diff --git a/README.md b/README.md
index 1205554..b0306e9 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,7 @@
| Package | Description | Version |
|---|---|---|
| [args](pkgs/args/) | Library for defining parsers for parsing raw command-line arguments into a set of options and values. | [](https://pub.dev/packages/args) |
+| [fake_async](pkgs/fake_async/) | Fake asynchronous events such as timers and microtasks for deterministic testing. | [](https://pub.dev/packages/fake_async) |
## Publishing automation
diff --git a/pkgs/fake_async/.github/dependabot.yml b/pkgs/fake_async/.github/dependabot.yml
deleted file mode 100644
index cde02ad..0000000
--- a/pkgs/fake_async/.github/dependabot.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-# Dependabot configuration file.
-# See https://docs.github.com/en/code-security/dependabot/dependabot-version-updates
-version: 2
-
-updates:
- - package-ecosystem: github-actions
- directory: /
- schedule:
- interval: monthly
- labels:
- - autosubmit
- groups:
- github-actions:
- patterns:
- - "*"
diff --git a/pkgs/fake_async/.github/workflows/no-response.yml b/pkgs/fake_async/.github/workflows/no-response.yml
deleted file mode 100644
index ab1ac49..0000000
--- a/pkgs/fake_async/.github/workflows/no-response.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-# A workflow to close issues where the author hasn't responded to a request for
-# more information; see https://github.com/actions/stale.
-
-name: No Response
-
-# Run as a daily cron.
-on:
- schedule:
- # Every day at 8am
- - cron: '0 8 * * *'
-
-# All permissions not specified are set to 'none'.
-permissions:
- issues: write
- pull-requests: write
-
-jobs:
- no-response:
- runs-on: ubuntu-latest
- if: ${{ github.repository_owner == 'dart-lang' }}
- steps:
- - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
- with:
- # Don't automatically mark inactive issues+PRs as stale.
- days-before-stale: -1
- # Close needs-info issues and PRs after 14 days of inactivity.
- days-before-close: 14
- stale-issue-label: "needs-info"
- close-issue-message: >
- Without additional information we're not able to resolve this issue.
- Feel free to add more info or respond to any questions above and we
- can reopen the case. Thanks for your contribution!
- stale-pr-label: "needs-info"
- close-pr-message: >
- Without additional information we're not able to resolve this PR.
- Feel free to add more info or respond to any questions above.
- Thanks for your contribution!
diff --git a/pkgs/fake_async/.github/workflows/publish.yaml b/pkgs/fake_async/.github/workflows/publish.yaml
deleted file mode 100644
index 27157a0..0000000
--- a/pkgs/fake_async/.github/workflows/publish.yaml
+++ /dev/null
@@ -1,17 +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
- permissions:
- id-token: write # Required for authentication using OIDC
- pull-requests: write # Required for writing the pull request note
diff --git a/pkgs/fake_async/CHANGELOG.md b/pkgs/fake_async/CHANGELOG.md
index 5c7dbd0..88ab333 100644
--- a/pkgs/fake_async/CHANGELOG.md
+++ b/pkgs/fake_async/CHANGELOG.md
@@ -1,9 +1,10 @@
-## 1.3.2-wip
+## 1.3.2
* Require Dart 3.3
* Fix bug where a `flushTimers` or `elapse` call from within
the callback of a periodic timer would immediately invoke
the same timer.
+* Move to `dart-lang/core` monorepo.
## 1.3.1
diff --git a/pkgs/fake_async/README.md b/pkgs/fake_async/README.md
index c241482..c46bf03 100644
--- a/pkgs/fake_async/README.md
+++ b/pkgs/fake_async/README.md
@@ -1,4 +1,4 @@
-[](https://github.com/dart-lang/fake_async/actions/workflows/test-package.yml)
+[](https://github.com/dart-lang/core/actions/workflows/fake_async.yaml)
[](https://pub.dev/packages/fake_async)
[](https://pub.dev/packages/fake_async/publisher)
diff --git a/pkgs/fake_async/pubspec.yaml b/pkgs/fake_async/pubspec.yaml
index 191139f..d96c5a6 100644
--- a/pkgs/fake_async/pubspec.yaml
+++ b/pkgs/fake_async/pubspec.yaml
@@ -1,9 +1,9 @@
name: fake_async
-version: 1.3.2-wip
+version: 1.3.2
description: >-
Fake asynchronous events such as timers and microtasks for deterministic
testing.
-repository: https://github.com/dart-lang/fake_async
+repository: https://github.com/dart-lang/core/main/pkgs/fake_async
environment:
sdk: ^3.3.0