chore(deps): update dependency: bump gradle-wrapper from 8.11.1 to 9.5.0 in /app/android #1849
Workflow file for this run
This file contains hidden or 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
| name: Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| tags: | |
| - '[0-9]+.[0-9]+.[0-9]+' | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup environment | |
| uses: ./.github/actions/setup | |
| - name: Run app tests | |
| shell: bash | |
| run: | | |
| cd app | |
| flutter test | |
| - name: Run ouds_core tests | |
| shell: bash | |
| run: | | |
| cd ouds_core | |
| flutter test | |
| - name: Run ouds_global_raw_tokens tests | |
| shell: bash | |
| run: | | |
| cd ouds_global_raw_tokens | |
| flutter test | |
| - name: Run ouds_theme_contract tests | |
| shell: bash | |
| run: | | |
| cd ouds_theme_contract | |
| flutter test | |
| - name: Run ouds_theme_orange tests | |
| shell: bash | |
| run: | | |
| cd ouds_theme_orange | |
| flutter test | |
| - name: Run ouds_theme_sosh tests | |
| shell: bash | |
| run: | | |
| cd ouds_theme_sosh | |
| flutter test | |
| gitleaks: | |
| name: Scan for leaks with Gitleaks | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Run Gitleaks Scan | |
| run: | | |
| curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.24.3/gitleaks_8.24.3_linux_x64.tar.gz -o /tmp/gitleaks.tar.gz | |
| tar -xzf /tmp/gitleaks.tar.gz -C /tmp | |
| sudo mv /tmp/gitleaks /usr/local/bin/gitleaks | |
| gitleaks detect --source . --config .gitleaks.toml -v --redact | |
| continue-on-error: true | |
| build-android: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup environment | |
| uses: ./.github/actions/setup | |
| - name: Determine build flavor | |
| id: determine_flavor | |
| run: echo "::set-output name=flavor::$(if [[ ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} ]]; then echo "prod"; else echo "beta"; fi)" | |
| - name: Build Android app | |
| shell: bash | |
| run: | | |
| cd app | |
| flutter build apk --flavor=${{ steps.determine_flavor.outputs.flavor }} | |
| flutter build appbundle --flavor=${{ steps.determine_flavor.outputs.flavor }} | |
| - name: Store Android app artifacts | |
| uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 | |
| with: | |
| name: android-app | |
| path: | | |
| app/build/app/outputs/flutter-apk/*.apk | |
| app/build/app/outputs/bundle/*/*.aab | |
| build-ios: | |
| runs-on: macos-26 | |
| needs: test | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Xcode 26.3.0 | |
| run: sudo xcode-select -s /Applications/Xcode_26.3.0.app/Contents/Developer | |
| - name: Setup environment | |
| uses: ./.github/actions/setup | |
| - name: Determine build flavor | |
| id: determine_flavor | |
| run: echo "::set-output name=flavor::$(if [[ ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }} ]]; then echo "prod"; else echo "beta"; fi)" | |
| - name: Build iOS app | |
| shell: bash | |
| run: | | |
| cd app | |
| flutter build ios --no-codesign --flavor=${{ steps.determine_flavor.outputs.flavor }} | |
| - name: Store iOS app artifacts | |
| uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 | |
| with: | |
| name: ios-app | |
| path: app/build/ios/iphoneos/Runner.app |