-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dev dependencies in packages (#195)
* Migrate debug page to leancode_lint * Bump dev deps in all packages * Add workflow for leancode_flutter_svg_adaptive_loader * Add missing codeowner listing * Bring back testing parameters * Bump Dart/Flutter versions on CI * Fix example of leancode_flutter_svg_adaptive_loader * Fix lint issues in override_api_endpoint * Remove test step from leancode_flutter_svg_adaptive_loader CI * Ignore patch versions in CI
- Loading branch information
Showing
32 changed files
with
738 additions
and
44 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
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
38 changes: 38 additions & 0 deletions
38
.github/workflows/leancode_flutter_svg_adaptive_loader-publish.yml
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,38 @@ | ||
name: leancode_flutter_svg_adaptive_loader publish | ||
|
||
on: | ||
push: | ||
tags: ['leancode_flutter_svg_adaptive_loader-v*'] | ||
|
||
jobs: | ||
publish: | ||
name: Publish to pub.dev | ||
|
||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
id-token: write | ||
|
||
defaults: | ||
run: | ||
working-directory: packages/leancode_flutter_svg_adaptive_loader | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Dart | ||
uses: dart-lang/setup-dart@v1 | ||
with: | ||
sdk: 3.1 | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: 3.13.x | ||
cache: true | ||
|
||
- name: Publish and release | ||
uses: leancodepl/mobile-tools/.github/actions/pub-release@pub-release-v1 | ||
with: | ||
path: packages/leancode_flutter_svg_adaptive_loader |
57 changes: 57 additions & 0 deletions
57
.github/workflows/leancode_flutter_svg_adaptive_loader-test.yml
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,57 @@ | ||
name: leancode_flutter_svg_adaptive_loader test | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
tags-ignore: ['leancode_flutter_svg_adaptive_loader-v*'] | ||
paths: | ||
- 'packages/leancode_flutter_svg_adaptive_loader/**' | ||
pull_request: | ||
branches: [master] | ||
paths: | ||
- 'packages/leancode_flutter_svg_adaptive_loader/**' | ||
|
||
jobs: | ||
test: | ||
name: Flutter ${{ matrix.channel }}${{ matrix.version }} | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- version: 3.13.x | ||
|
||
defaults: | ||
run: | ||
working-directory: packages/leancode_flutter_svg_adaptive_loader | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Flutter | ||
uses: subosito/flutter-action@v1 | ||
with: | ||
channel: ${{ matrix.channel }} | ||
flutter-version: ${{ matrix.version }} | ||
|
||
- name: Flutter version | ||
run: flutter --version | ||
|
||
- name: Cache pub dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.FLUTTER_HOME }}/.pub-cache | ||
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} | ||
restore-keys: ${{ runner.os }}-pub- | ||
|
||
- name: Download pub dependencies | ||
run: flutter pub get | ||
|
||
- name: Run analyzer | ||
run: flutter analyze | ||
|
||
- name: Dry run pub publish | ||
# We don't want it to fail the CI, it's just to see how would `pub publish` behave. | ||
run: flutter pub publish --dry-run || true |
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
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- version: 3.13.0 | ||
- version: 3.13.x | ||
|
||
defaults: | ||
run: | ||
|
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
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
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 |
---|---|---|
|
@@ -30,6 +30,7 @@ | |
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
pubspec.lock | ||
|
||
# Web related | ||
lib/generated_plugin_registrant.dart | ||
|
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
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
Oops, something went wrong.