Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix/concurrency-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mirland committed Oct 31, 2024
2 parents e0788ee + c997515 commit 94e1504
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 15 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/dart-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,4 @@ jobs:
run: flutter analyze .

- name: Run tests
run: |
dart pub global activate coverage 1.5.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib
- uses: codecov/codecov-action@v3
with:
verbose: true
files: ./coverage/lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
run: dart test
25 changes: 25 additions & 0 deletions .github/workflows/dart-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dart codecov
on:
pull_request_target:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: dart pub get
- name: Run test coverage
run: |
dart pub global activate coverage 1.5.0
dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --report-on=lib
- uses: codecov/codecov-action@v3
with:
verbose: true
files: ./coverage/lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/dart-pana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [pull_request]
jobs:
check:
name: pana-action
runs-on: macos-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.1.2
* Updates rxdart to 0.28.0

## 1.1.1
* Use dart 3 class modifiers ([#40](https://github.com/xmartlabs/stock/pull/40))
* Code improvements, fix dart analyze issues ([#42](https://github.com/xmartlabs/stock/pull/42))
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: stock
description: Dart package for Async Data Loading and Caching.
Combine local (DB, cache) and network data simply and safely.
version: 1.1.1
version: 1.1.2
homepage: https://github.com/xmartlabs/stock
repository: https://github.com/xmartlabs/stock
issue_tracker: https://github.com/xmartlabs/stock/issues
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
meta: ^1.3.0
mutex: ^3.1.0
rxdart: ^0.27.2
rxdart: ^0.28.0

dev_dependencies:
build_runner: ^2.4.9
Expand Down

0 comments on commit 94e1504

Please sign in to comment.