Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
54bb744
chore(deps): update ruby/setup-ruby to v1.168.0
renovate[bot] Jan 21, 2024
24cdc22
chore(ci): use `secrets: inherit` directive (#429)
vareversat Mar 12, 2024
1b5aa9b
chore(deps): update actions/setup-node to v4 (#425)
renovate[bot] Mar 12, 2024
70d310d
chore(deps): update date-and-time to v3 (#428)
renovate[bot] Mar 12, 2024
7c3df0d
chore(deps): update flutter to v3.19.3 (#417)
renovate[bot] Mar 12, 2024
7eeb0ff
chore(ci): upgrade `codecov-action` to v4.1.0 (#431)
vareversat Mar 12, 2024
07a6ec0
chore(deps): update androidx.browser:browser to v1.8.0 (#395)
renovate[bot] Mar 12, 2024
0325c67
chore(deps): update com.google.firebase:firebase-bom to v32 (#426)
renovate[bot] Mar 12, 2024
dd32d74
chore(deps): update gradle to v8.6 (#358)
renovate[bot] Mar 12, 2024
39e0311
chore(ci): add `concurrency` directive for main, dev and tag triggers…
vareversat Mar 12, 2024
2b05313
chore(deps): upgrade flutter deps (#432)
vareversat Mar 12, 2024
a6de11d
chore(ci): remove flutter analytics and animations for CI (#433)
vareversat Mar 12, 2024
a1643aa
chore(deps): update com.google.gms.google-services to v4.4.1
renovate[bot] Mar 17, 2024
80f62bb
chore(deps): update firebase-functions to v4.8.0
renovate[bot] Mar 17, 2024
273bbba
chore(deps): update maierj/fastlane-action to v3.1.0
renovate[bot] Mar 17, 2024
6c0c6b0
chore(deps): update ruby/setup-ruby to v1.172.0
renovate[bot] Mar 18, 2024
db427a2
chore(deps): update subosito/flutter-action to v2.13.0
renovate[bot] Mar 18, 2024
96f9c1e
chore(deps): update firebase-functions to v4.8.1
renovate[bot] Mar 24, 2024
e85f0b7
chore(deps): update com.google.firebase:firebase-bom to v32.8.0
renovate[bot] Mar 24, 2024
5520304
chore(deps): update gradle to v8.7
renovate[bot] Mar 24, 2024
fd9f782
chore(deps): update ruby/setup-ruby to v1.173.0
renovate[bot] Mar 24, 2024
681143f
chore(deps): update subosito/flutter-action to v2.14.0
renovate[bot] Mar 25, 2024
616a24a
chore(deps): update codecov/codecov-action to v4.1.1
renovate[bot] Mar 31, 2024
738c53d
chore(deps): update firebase-functions to v4.8.2
renovate[bot] Mar 31, 2024
4697768
chore(deps): update algoliasearch to v4.23.2
renovate[bot] Mar 31, 2024
13cf0e6
chore(deps): update codecov/codecov-action to v4.2.0
renovate[bot] Apr 7, 2024
71f775b
chore(deps): update fastlane to v2.220.0
renovate[bot] Apr 7, 2024
0cd1065
chore(deps): update firebase-functions to v4.9.0
renovate[bot] Apr 7, 2024
0bef6ee
chore(deps): update algoliasearch to v4.23.3
renovate[bot] Apr 14, 2024
c7c2b11
chore(deps): update com.google.firebase:firebase-bom to v32.8.1
renovate[bot] Apr 14, 2024
cfae8ef
chore(deps): update codecov/codecov-action to v4.3.0
renovate[bot] Apr 14, 2024
754c86b
chore(deps): update firebase-functions-test to v3.2.0
renovate[bot] Apr 15, 2024
9b84858
chore(deps): update com.google.android.gms:play-services-auth to v21.1.0
renovate[bot] Apr 21, 2024
d43dab4
chore(deps): update com.google.android.gms:play-services-base to v18.4.0
renovate[bot] Apr 21, 2024
4b322a8
chore(deps): update flutter_markdown to ^0.7.0
renovate[bot] Apr 21, 2024
d5e9cf5
chore(deps): update ruby/setup-ruby to v1.174.0
renovate[bot] Apr 22, 2024
48b8a0e
chore(deps): update ruby/setup-ruby to v1.175.1
renovate[bot] Apr 28, 2024
edf599a
chore(deps): update subosito/flutter-action to v2.16.0
renovate[bot] Apr 28, 2024
a02b254
chore(deps): update softprops/action-gh-release to v2 (#469)
renovate[bot] Jun 22, 2024
bf83768
chore(deps): update package_info_plus to v8 (#468)
renovate[bot] Jun 22, 2024
8970fa1
chore(deps): update actions/configure-pages to v5 (#452)
renovate[bot] Jun 22, 2024
c495244
chore(deps): update google_mobile_ads to v5 (#448)
renovate[bot] Jun 22, 2024
3177d4c
chore(deps): update node to v20 (#453)
renovate[bot] Jun 22, 2024
d9c4822
chore(deps): update com.google.gms.google-services to v4.4.2
renovate[bot] Jun 23, 2024
cfad742
chore(deps): update org.jetbrains.kotlin.android to v1.9.24
renovate[bot] Jun 23, 2024
f45870d
chore(deps): update org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.9.24
renovate[bot] Jun 23, 2024
bf42864
chore(deps): update codecov/codecov-action to v4.5.0
renovate[bot] Jun 24, 2024
f6b07b4
chore(deps): update com.google.android.gms:play-services-auth to v21.2.0
renovate[bot] Jun 24, 2024
2a4e4d0
chore(deps): update com.google.android.gms:play-services-base to v18.5.0
renovate[bot] Jun 24, 2024
d5f4d9f
chore(deps): update algoliasearch to v4.24.0
renovate[bot] Jun 30, 2024
028985f
chore(deps): update androidx.test.espresso:espresso-core to v3.6.1
renovate[bot] Jun 30, 2024
74927dd
chore(deps): update androidx.test:runner to v1.6.1
renovate[bot] Jun 30, 2024
4295f52
chore(deps): update date-and-time to v3.3.0
renovate[bot] Jul 1, 2024
0d9e0c4
chore(deps): update fastlane to v2.221.1
renovate[bot] Jul 1, 2024
845e3f4
chore(deps): update firebase-functions-test to v3.3.0
renovate[bot] Jul 1, 2024
ef1d93c
chore(deps): update date-and-time to v3.4.0
renovate[bot] Jul 7, 2024
9048757
chore(deps): update gradle to v8.8
renovate[bot] Jul 7, 2024
9827db5
chore(deps): update ruby/setup-ruby to v1.185.0
renovate[bot] Jul 7, 2024
55cd45e
chore(deps): update date-and-time to v3.4.1
renovate[bot] Jul 14, 2024
d596b06
chore(deps): update gradle to v8.9
renovate[bot] Jul 14, 2024
6f8ad10
chore(deps): update ruby/setup-ruby to v1.187.0
renovate[bot] Jul 14, 2024
a16867d
deps: upgrade all deps & to Flutter 3.22.2 (#493)
vareversat Jul 16, 2024
2292d38
WIP
vareversat Jul 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/default-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ jobs:
uses: ./.github/workflows/functions.action.yaml
with:
deploy: false
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
firebase_token: ${{ secrets.FIREBASE_TOKEN }}
secrets: inherit
10 changes: 4 additions & 6 deletions .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ jobs:
flutter-test-analyze:
uses: ./.github/workflows/flutter.analyze-test.action.yaml
with:
flutter_version: '3.16.5'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
flutter_version: '3.22.2'
secrets: inherit
flutter-build:
needs: [ flutter-test-analyze ]
uses: ./.github/workflows/flutter.build.action.yaml
with:
flutter_version: '3.16.5'
flutter_version: '3.22.2'
android_output: 'apk'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
4 changes: 1 addition & 3 deletions .github/workflows/dev-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ jobs:
uses: ./.github/workflows/functions.action.yaml
with:
deploy: true
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
firebase_token: ${{ secrets.FIREBASE_TOKEN }}
secrets: inherit
17 changes: 9 additions & 8 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,26 @@ on:
branches:
- dev

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
flutter-test-analyze:
uses: ./.github/workflows/flutter.analyze-test.action.yaml
with:
flutter_version: '3.16.5'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
flutter_version: '3.22.2'
secrets: inherit
flutter-build:
needs: [ flutter-test-analyze ]
uses: ./.github/workflows/flutter.build.action.yaml
with:
flutter_version: '3.16.5'
flutter_version: '3.22.2'
android_output: 'aab'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
fastlane-dry-run:
needs: [ flutter-build ]
uses: ./.github/workflows/fastlane.action.yaml
with:
lane: 'dry_run'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
12 changes: 4 additions & 8 deletions .github/workflows/fastlane.action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
description: 'Lane version (alpha, beta, or production)'
required: true
type: string
secrets:
passphrase:
description: 'The passphrase to decrypt the configuration'
required: true

jobs:
play_store:
Expand All @@ -24,7 +20,7 @@ jobs:
- name: 'Decrypt secret configuration'
run: ./.github/scripts/decrypt_secret.sh
env:
PASSPHRASE: ${{ secrets.passphrase }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: 'Check secret configuration'
run: ./.github/scripts/check_secrets_decryption.sh
- name: 'Download Artifact'
Expand All @@ -34,20 +30,20 @@ jobs:
- name: 'Generate changelog'
run: ./.github/scripts/generate_changelog.sh
- name: 'Setup Ruby'
uses: ruby/setup-ruby@v1.165.1
uses: ruby/setup-ruby@v1.187.0
with:
ruby-version: '3.0'
bundler-cache: true
env:
BUNDLE_GEMFILE: 'android/Gemfile'
- name: 'Fastlane deploy ${{ inputs.lane }} lane'
uses: maierj/fastlane-action@v3.0.0
uses: maierj/fastlane-action@v3.1.0
with:
lane: ${{ inputs.lane }}
subdirectory: 'android'
- name: 'Generate Github release'
# Only run on new tag
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
body_path: ${{ env.CHANGELOG_PATH }}
24 changes: 13 additions & 11 deletions .github/workflows/flutter.analyze-test.action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
description: 'The Flutter used (ex: 2.5.1)'
required: true
type: string
secrets:
passphrase:
description: 'The passphrase to decrypt the configuration'
required: true


jobs:
Expand All @@ -21,19 +17,22 @@ jobs:
- name: 'Checkout source code'
uses: actions/checkout@v4
- name: 'Setup flutter action'
uses: subosito/flutter-action@v2.12.0
uses: subosito/flutter-action@v2.16.0
with:
flutter-version: ${{ inputs.flutter_version }}
- name: 'Flutter analyze'
run: flutter analyze
run: |
flutter config --no-analytics
flutter config --no-cli-animations
flutter analyze
format:
name: 'Format'
runs-on: ubuntu-latest
steps:
- name: 'Checkout source code'
uses: actions/checkout@v4
- name: 'Setup flutter action'
uses: subosito/flutter-action@v2.12.0
uses: subosito/flutter-action@v2.16.0
with:
flutter-version: ${{ inputs.flutter_version }}
- name: 'Flutter format'
Expand All @@ -47,17 +46,20 @@ jobs:
- name: 'Decrypt secret configuration'
run: ./.github/scripts/decrypt_secret.sh
env:
PASSPHRASE: ${{ secrets.passphrase }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: 'Check secret configuration'
run: ./.github/scripts/check_secrets_decryption.sh
- name: 'Setup flutter action'
uses: subosito/flutter-action@v2.12.0
uses: subosito/flutter-action@v2.16.0
with:
flutter-version: ${{ inputs.flutter_version }}
- name: 'Flutter test (with coverage)'
run: flutter test --coverage --test-randomize-ordering-seed random
run: |
flutter config --no-analytics
flutter config --no-cli-animations
flutter test --coverage --test-randomize-ordering-seed random
- name: 'Upload coverage report'
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@v4.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/
24 changes: 13 additions & 11 deletions .github/workflows/flutter.build.action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:
description: 'Android build file type output (apk or abb)'
required: true
type: string
secrets:
passphrase:
description: 'The passphrase to decrypt the configuration'
required: true


jobs:
Expand All @@ -29,22 +25,25 @@ jobs:
- name: 'Decrypt secret configuration'
run: ./.github/scripts/decrypt_secret.sh
env:
PASSPHRASE: ${{ secrets.passphrase }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: 'Check secret configuration'
run: ./.github/scripts/check_secrets_decryption.sh
- name: 'Set up JAVA'
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11.x'
java-version: '17.x'
- name: 'Setup Flutter'
uses: subosito/flutter-action@v2.12.0
uses: subosito/flutter-action@v2.16.0
with:
flutter-version: ${{ inputs.flutter_version }}
- name: 'Build Android APK'
if: ${{ inputs.android_output == 'apk' }}
# Build APK version of the app
run: flutter build apk --split-per-abi
run: |
flutter config --no-analytics
flutter config --no-cli-animations
flutter build apk --split-per-abi
- name: 'Save APK'
if: ${{ inputs.android_output == 'apk' }}
uses: actions/upload-artifact@v4
Expand All @@ -60,7 +59,10 @@ jobs:
echo "This build is tagged as $BUILD_NUMBER on $GITHUB_REF"
- name: 'Build Android App Bundle'
if: ${{ inputs.android_output == 'aab' }}
run: flutter build appbundle --dart-define=FLAVOR=prod --build-number="$BUILD_NUMBER"
run: |
flutter config --no-analytics
flutter config --no-cli-animations
flutter build appbundle --dart-define=FLAVOR=prod --build-number="$BUILD_NUMBER"
env:
BUILD_NUMBER: ${{ env.BUILD_NUMBER }}
- name: 'Save AAB'
Expand All @@ -78,7 +80,7 @@ jobs:
- name: 'Decrypt secret configuration'
run: ./.github/scripts/decrypt_secret.sh
env:
PASSPHRASE: ${{ secrets.passphrase }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: 'Check secret configuration'
run: ./.github/scripts/check_secrets_decryption.sh
- name: '🥺'
Expand All @@ -92,7 +94,7 @@ jobs:
- name: 'Decrypt secret configuration'
run: ./.github/scripts/decrypt_secret.sh
env:
PASSPHRASE: ${{ secrets.passphrase }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: 'Check secret configuration'
run: ./.github/scripts/check_secrets_decryption.sh
- name: '🥺'
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/functions.action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ on:
description: 'Whether or not deploy the Firebase function'
required: true
type: boolean
secrets:
passphrase:
description: 'The passphrase to decrypt the configuration'
required: true
firebase_token:
description: 'Token used by firebase login'
required: true

jobs:
build_deploy:
Expand All @@ -29,7 +22,7 @@ jobs:
- name: 'Check secret configuration'
run: ./.github/scripts/check_secrets_decryption.sh
- name: 'Setup Node / NPM'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm install -g firebase-tools
Expand All @@ -49,4 +42,4 @@ jobs:
cd ./firebase_functions
firebase deploy --only functions
env:
GOOGLE_APPLICATION_CREDENTIALS: '${{ github.workspace }}/${{ vars.GOOGLE_APPLICATION_CREDENTIALS }}'
GOOGLE_APPLICATION_CREDENTIALS: '${{ github.workspace }}/${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'
17 changes: 9 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@ on:
branches:
- main

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
flutter-test-analyze:
uses: ./.github/workflows/flutter.analyze-test.action.yaml
with:
flutter_version: '3.16.5'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
flutter_version: '3.22.2'
secrets: inherit
flutter-build:
needs: [ flutter-test-analyze ]
uses: ./.github/workflows/flutter.build.action.yaml
with:
flutter_version: '3.16.5'
flutter_version: '3.22.2'
android_output: 'aab'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
fastlane:
needs: [ flutter-build ]
uses: ./.github/workflows/fastlane.action.yaml
with:
lane: 'production'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/pages.deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@ on:
tags:
- v*

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
flutter-test-analyze:
uses: ./.github/workflows/flutter.analyze-test.action.yaml
with:
flutter_version: '3.16.5'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
flutter_version: '3.22.2'
secrets: inherit
flutter-build:
needs: [ flutter-test-analyze ]
uses: ./.github/workflows/flutter.build.action.yaml
with:
flutter_version: '3.16.5'
flutter_version: '3.22.2'
android_output: 'aab'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
fastlane:
needs: [ flutter-build ]
uses: ./.github/workflows/fastlane.action.yaml
with:
lane: 'beta'
secrets:
passphrase: ${{ secrets.PASSPHRASE }}
secrets: inherit
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ analyzer:
exclude:
- "**.g.dart"
- "**.mocks.dart"
- "**register**" # DeepLink is deprecated but wont be updated :(
- "lib/generated_plugin_registrant.dart"
2 changes: 1 addition & 1 deletion android/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem 'fastlane', '2.219.0'
gem 'fastlane', '2.221.1'

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
Loading