diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e93910..84e8c97 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,7 +40,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - sdk: [2.18.0, dev] + sdk: [3.0.0, stable, dev] steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f @@ -66,7 +66,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - sdk: [2.18.0, dev] + sdk: [3.0.0, stable, dev] steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 - uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f diff --git a/.github/workflows/post_summaries.yaml b/.github/workflows/post_summaries.yaml new file mode 100644 index 0000000..fe2284c --- /dev/null +++ b/.github/workflows/post_summaries.yaml @@ -0,0 +1,17 @@ +name: Comment on PRs + +on: + # Trigger this workflow after the Publish workflow completes. This workflow + # will have permissions to create comments on the PR, even if the original + # workflow couldn't. + workflow_run: + workflows: + - Publish + types: + - completed + +jobs: + upload: + uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main + permissions: + pull-requests: write diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..afe5935 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,21 @@ +# A CI configuration to auto-publish pub packages. + +name: Publish + +on: + # Trigger on pull requests that target the default branch. + pull_request: + branches: [ master ] + # Also, trigger when tags are pushed to the repo. + push: + tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ] + +# The script below will perform publishing checks (version checks, publishing +# dry run, ...) when run on a PR, and perform an actual pub publish when run as +# a result of a git tag event. +jobs: + publish: + if: ${{ github.repository_owner == 'google' }} + uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main + with: + write-comments: false diff --git a/CHANGELOG.md b/CHANGELOG.md index d7ac0ea..c031d4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.0.4-wip + +* Require Dart 3.0. + ## 3.0.3 * Include a content-type header when sending requests from `async_html.dart`. @@ -7,7 +11,7 @@ ## 3.0.2 -* Require Dart 2.18 +* Require Dart 2.18. * "Officially" deprecate `core.dart` and `io.dart` libraries. * Remove the dependecy on `package:archive`. diff --git a/pubspec.yaml b/pubspec.yaml index a031159..aae0f49 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,12 +1,12 @@ name: webdriver -version: 3.0.3 +version: 3.0.4-wip description: >- Provides WebDriver bindings for Dart. Supports WebDriver JSON interface and W3C spec. Requires the use of WebDriver remote server. repository: https://github.com/google/webdriver.dart environment: - sdk: '>=2.18.0 <3.0.0' + sdk: ^3.0.0 dependencies: matcher: ^0.12.10