Skip to content

Commit

Permalink
Update template (#6)
Browse files Browse the repository at this point in the history
* Check generated code (#75)

* Bump json_serializable from 6.4.0 to 6.5.0 (#74)

* Bump flutter_gen_runner from 4.3.0 to 5.0.1 (#71)

* Add github actions and ruby to dependabot and set the maximum amount of prs open at the same time (#76)

* Fix dependabot config file indentation (#77)

* Bump flutter_gen_runner from 5.0.1 to 5.0.2 (#79)

* Bump auto_route from 5.0.1 to 5.0.2 (#78)

* Bump json_serializable from 6.5.0 to 6.5.1 (#80)

* Bump build_runner from 2.2.1 to 2.3.0 (#81)

* Bump maierj/fastlane-action from 2.2.1 to 2.3.0 (#82)

* Bump freezed_annotation from 2.1.0 to 2.2.0 (#84)

* Fixed text style not being assign as a default (#60)

* Remove bloc and let all be cubit (#83)

* Remove bloc and let all be cubit

* Update lib/ui/signin/signin_cubit.dart

Co-authored-by: Matías Irland <[email protected]>

Co-authored-by: Matías Irland <[email protected]>

* Remove static localizations usages (#69)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felipe de León <[email protected]>
Co-authored-by: Nico Hernandez <[email protected]>
  • Loading branch information
4 people authored Oct 17, 2022
1 parent 5c26d0e commit 30193bf
Show file tree
Hide file tree
Showing 26 changed files with 541 additions and 904 deletions.
23 changes: 22 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,25 @@ updates:
- package-ecosystem: 'pub'
directory: '/'
schedule:
interval: 'weekly'
interval: 'daily'
open-pull-requests-limit: 2
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
- package-ecosystem: 'bundler'
directory: '/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
- package-ecosystem: 'bundler'
directory: '/ios/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
- package-ecosystem: 'bundler'
directory: '/android/'
schedule:
interval: 'daily'
open-pull-requests-limit: 2
14 changes: 9 additions & 5 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
Expand All @@ -28,19 +28,23 @@ jobs:
- name: Install FVM && Flutter
run: dart pub global activate fvm --verbose && fvm install --verbose && fvm use --force --verbose
- name: Get dependencies
uses: maierj/fastlane-action@v2.2.0
uses: maierj/fastlane-action@v2.3.0
with:
lane: 'fetch_dependencies'
- name: 'Run lints'
uses: maierj/fastlane-action@v2.2.0
uses: maierj/fastlane-action@v2.3.0
with:
lane: 'lints'
- name: 'Check generated code'
uses: maierj/[email protected]
with:
lane: 'ensure_no_change_in_generated_code'
- name: 'Run tests'
uses: maierj/fastlane-action@v2.2.0
uses: maierj/fastlane-action@v2.3.0
with:
lane: 'tests'
- name: 'Build android app'
uses: maierj/fastlane-action@v2.2.0
uses: maierj/fastlane-action@v2.3.0
with:
lane: 'android build_dev_debug_apk'
subdirectory: 'android'
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ app.*.map.json
**/fastlane/Preview.html
**/fastlane/screenshots
**/fastlane/test_output

.bundle/
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.2
30 changes: 16 additions & 14 deletions Gemfile.lock

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

8 changes: 8 additions & 0 deletions android/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Run linters**

### ensure_no_change_in_generated_code

```sh
[bundle exec] fastlane ensure_no_change_in_generated_code
```

**Check generated code is fine**

### tests

```sh
Expand Down
6 changes: 6 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ lane :lints do
lint_analyze
end

desc "**Check generated code is fine**"
lane :ensure_no_change_in_generated_code do
build_autogenerated_code
ensure_git_status_clean(show_diff: true)
end

desc "**Run tests**"
lane :tests do |options|
flutter_command(command: "test --no-pub --coverage --suppress-analytics")
Expand Down
8 changes: 8 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Run linters**

### ensure_no_change_in_generated_code

```sh
[bundle exec] fastlane ensure_no_change_in_generated_code
```

**Check generated code is fine**

### tests

```sh
Expand Down
8 changes: 8 additions & 0 deletions ios/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

**Run linters**

### ensure_no_change_in_generated_code

```sh
[bundle exec] fastlane ensure_no_change_in_generated_code
```

**Check generated code is fine**

### tests

```sh
Expand Down
13 changes: 9 additions & 4 deletions lib/core/source/common/app_database.g.dart

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

7 changes: 6 additions & 1 deletion lib/gen/assets.gen.dart

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

Loading

0 comments on commit 30193bf

Please sign in to comment.