-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from leancodepl/chore/move-cqrs-to-separate-pa…
…ckage Move cqrs to a separate package
- Loading branch information
Showing
320 changed files
with
8,763 additions
and
542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: publish leancode_cubit_utils_cqrs | ||
|
||
on: | ||
push: | ||
tags: ['leancode_cubit_utils_cqrs-v*'] | ||
|
||
jobs: | ||
publish: | ||
name: Publish to pub.dev | ||
|
||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
id-token: write | ||
contents: write | ||
|
||
defaults: | ||
run: | ||
working-directory: packages/leancode_cubit_utils_cqrs | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Dart | ||
uses: dart-lang/setup-dart@v1 | ||
with: | ||
sdk: 3.2 | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: 3.19.x | ||
cache: true | ||
|
||
- name: Publish and release | ||
uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: leancode_cubit_utils_cqrs test | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
tags-ignore: ['leancode_cubit_utils_cqrs-v*'] | ||
paths: | ||
- 'packages/leancode_cubit_utils_cqrs/**' | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- 'packages/leancode_cubit_utils_cqrs/**' | ||
|
||
jobs: | ||
test: | ||
name: Flutter ${{ matrix.version }} | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- version: '3.19.x' | ||
|
||
defaults: | ||
run: | ||
working-directory: packages/leancode_cubit_utils_cqrs | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: ${{ matrix.version }} | ||
cache: true | ||
|
||
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Check formatting | ||
run: dart format --set-exit-if-changed --output none . | ||
|
||
- name: Run analyzer | ||
run: flutter analyze --fatal-warnings --fatal-infos | ||
|
||
- name: Run tests | ||
run: flutter test | ||
|
||
- name: Dry run pub publish | ||
run: dart pub publish --dry-run || true |
Oops, something went wrong.