Skip to content

Commit

Permalink
Lower dependency constraints to match dio (#144)
Browse files Browse the repository at this point in the history
* Lower dependency constraints to match dio

* Run pipeline on min/stable SDK

* running on different platforms is not required, there is no platform specific code involved in this package
  • Loading branch information
kuhnroyal authored Feb 15, 2023
1 parent 1be3025 commit af264ae
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/dart-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ on:
jobs:
ci:
name: Build, format, analyze and test the package
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
sdk: [ 2.15.0, stable ]

steps:
- name: Checkout the repository
uses: actions/checkout@v3

- name: Setup Dart SDK
uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}

- name: Print Dart SDK version
run: dart --version
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ Subsequently, the date entry follows **YYYY-MM-DD** format in accordance with th
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

---
## [v0.4.2] (2023-02-15)

- **Updated**
- Downgrade dependency constraints to match minimum `dio` requirements

## [v0.4.1] (2023-02-15)

- **Updated**
Expand Down Expand Up @@ -207,4 +212,3 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

- **Added**
- The MIT License.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Add this to your package's `pubspec.yaml` file:

```yaml
dev_dependencies:
http_mock_adapter: ^0.4.1
http_mock_adapter: ^0.4.2
```
#### Install it
Expand Down
8 changes: 4 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: http_mock_adapter
description: A simple to use mocking package for Dio intended to be used in tests. It provides various types and methods to declaratively mock request-response communication.
version: 0.4.1
version: 0.4.2
homepage: https://github.com/lomsa-dev/http-mock-adapter
repository: https://github.com/lomsa-dev/http-mock-adapter
issue_tracker: https://github.com/lomsa-dev/http-mock-adapter/issues

environment:
sdk: ">=2.18.0 <3.0.0"
sdk: ">=2.15.0 <3.0.0"

dependencies:
collection: ^1.15.0
dio: ^5.0.0
http_parser: ^4.0.2

dev_dependencies:
lints: ^2.0.1
test: ^1.23.1
lints: '>=1.0.1'
test: ^1.21.0
fake_async: ^1.3.1

0 comments on commit af264ae

Please sign in to comment.