Skip to content

Commit 7bb9ac2

Browse files
committed
Merge branch 'master' into feature/ingredient-images
# Conflicts: # lib/main.dart # lib/models/exercises/exercise.g.dart # lib/widgets/core/core.dart # pubspec.lock # test/gallery/gallery_screen_test.mocks.dart # test/measurements/measurement_categories_screen_test.mocks.dart # test/measurements/measurement_provider_test.mocks.dart # test/nutrition/nutritional_plan_form_test.mocks.dart # test/other/base_provider_test.mocks.dart # test/workout/workout_form_test.mocks.dart # test/workout/workout_set_form_test.mocks.dart
2 parents dac9493 + 16cdd6c commit 7bb9ac2

File tree

303 files changed

+13041
-2708
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+13041
-2708
lines changed

.github/workflows/android-release.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Java
1515
uses: actions/setup-java@v1
1616
with:
17-
java-version: 11.x
17+
java-version: 17.x
1818

1919
- name: Setup Ruby
2020
uses: ruby/setup-ruby@v1
@@ -25,7 +25,7 @@ jobs:
2525
uses: subosito/flutter-action@v1
2626
with:
2727
channel: 'stable'
28-
flutter-version: '3.0.x'
28+
flutter-version: '3.7.x'
2929

3030
- name: Decrypt config files
3131
run: |
@@ -46,11 +46,10 @@ jobs:
4646
run: flutter pub get
4747

4848
- name: Extract version information
49-
id: get_version
5049
run: |
51-
echo ::set-output name=VERSION_V::$(echo $GITHUB_REF | cut -d / -f 3)
52-
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-)
53-
echo ::set-output name=BUILD::$(flutter pub run cider version | cut -d '+' -f 2)
50+
echo "VERSION_V=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_ENV
51+
echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-)" >> $GITHUB_ENV
52+
echo "BUILD=$(flutter pub run cider version | cut -d '+' -f 2)" >> $GITHUB_ENV
5453
5554
# Note: the original tag that triggered the workflow is in the form vX.Y.Z
5655
# but the pubspec.yaml is committed in the commit after that one.
@@ -61,30 +60,30 @@ jobs:
6160
# one without the v and push it.
6261
- name: Bump version
6362
run: |
64-
flutter pub run cider version ${{ steps.get_version.outputs.VERSION }}+${{ steps.get_version.outputs.BUILD }}
63+
flutter pub run cider version ${{ env.VERSION }}+${{ env.BUILD }}
6564
flutter pub run cider bump build
6665
6766
git config user.name Github-actions
6867
git config user.email [email protected]
6968
git add .
7069
git commit -m "Bump version to $( flutter pub run cider version )"
71-
git tag ${{ steps.get_version.outputs.VERSION }}
70+
git tag ${{ env.VERSION }}
7271
git push origin HEAD:master --tags
73-
git push origin --delete ${{ steps.get_version.outputs.VERSION_V }}
72+
git push origin --delete ${{ env.VERSION_V }}
7473
7574
- name: Build AAB
7675
run: flutter build appbundle --release
7776
env:
7877
WGER_API_KEY: ${{ secrets.WGER_API_KEY }}
7978

8079
- name: Upload build to Play Store
81-
uses: maierj/fastlane-action@v2.1.0
80+
uses: maierj/fastlane-action@v2.2.1
8281
with:
8382
lane: production
8483

8584
- name: Make Github release
8685
uses: softprops/action-gh-release@v1
8786
with:
8887
files: build/app/outputs/bundle/release/app-release.aab
89-
tag_name: ${{ steps.get_version.outputs.VERSION }}
88+
tag_name: ${{ env.VERSION }}
9089
body_path: CHANGELOG.md

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,25 @@
11
name: Continous Integration
22
on:
33
push:
4-
branches: [ master ]
54
paths:
65
- '**.dart'
76
- 'pubspec.yaml'
87
pull_request:
9-
branches: [ master ]
8+
branches: [ pull_request, master ]
109
paths:
1110
- '**.dart'
1211
- 'pubspec.yaml'
1312
jobs:
1413
test:
15-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1615
steps:
1716
- uses: actions/checkout@v1
1817

1918
- name: Install Flutter
2019
uses: subosito/flutter-action@v1
2120
with:
2221
channel: 'stable'
23-
flutter-version: '3.0.x'
22+
flutter-version: '3.7.x'
2423

2524
- run: dart --version
2625
- run: flutter --version

.github/workflows/dependabot.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/linter.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ on:
77
paths:
88
- '**.dart'
99

10-
10+
1111
jobs:
1212
linting:
1313
runs-on: ubuntu-latest
1414
steps:
1515

1616
- name: Checkout code
1717
uses: actions/checkout@v2
18-
18+
1919
- name: Setup Flutter
2020
uses: subosito/flutter-action@v1
2121
with:
2222
channel: 'stable'
23-
flutter-version: '3.0.x'
23+
flutter-version: '3.7.x'
2424

2525
- name: Get dependencies
2626
run: flutter pub get
2727

28-
- name: Check for formatting issues (run "flutter format . ")
29-
run: flutter format --line-length=100 .
30-
28+
- name: Check for formatting issues (run "dart format . ")
29+
run: dart format --line-length=100 .
30+
3131
- name: Push a commit with the changed files
3232
continue-on-error: true
3333
run: |

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# The .vscode folder contains launch configuration and tasks you configure in
1919
# VS Code which you may wish to be included in version control, so this line
2020
# is commented out by default.
21-
#.vscode/
21+
.vscode/
2222

2323
# Flutter/Dart/Pub related
2424
**/doc/api/
@@ -47,3 +47,7 @@ app.*.map.json
4747
/fastlane/metadata/envfiles/wger.properties
4848
/fastlane/metadata/envfiles/keys.jks
4949
/fastlane/metadata/envfiles/key.properties
50+
51+
# Others
52+
/vendor/bundle/ruby/
53+
/coverage/

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"dart.lineLength": 100
2+
"dart.lineLength": 100,
3+
"diffEditor.ignoreTrimWhitespace": true,
34
}

AUTHORS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
- Marko Milosevic - <https://github.com/TaarnStar>
1414
- Karthik Reddy (Axel) - <https://github.com/AxelBlaz3>
1515
- Ogundoyin Toluwani - <https://github.com/Tolu007>
16+
- Nenza Nurfirmansyah - <https://github.com/nenzan>
17+
- Florian Schmitz - <https://github.com/floodoo>
18+
- Adam Bujdoš - <https://github.com/bujdy>
19+
- Aman Negi - <https://github.com/AmanNegi>
20+
- Sandi Milohanic - <https://github.com/sandimilohanic>
1621

1722
## Translators
1823

@@ -51,3 +56,11 @@
5156
- Japanese
5257

5358
- Kosei TANAKA <[email protected]> (97)
59+
60+
- Bahasa Indonesia
61+
62+
- Nenza Nurfirmansyah <[email protected]> (73)
63+
64+
- Croatian
65+
66+
- Sandi Milohaic <[email protected]>

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gem "fastlane"
4+
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
5+
eval_gemfile(plugins_path) if File.exist?(plugins_path)

0 commit comments

Comments
 (0)