Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 10 additions & 3 deletions .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
flutter-analyze:
timeout-minutes: 45
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Setup flutter
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2
with:
Expand All @@ -49,8 +54,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
distribution: "temurin"
java-version: "17"
Expand All @@ -66,7 +73,7 @@ jobs:
with:
melos-version: "6.3.2"
- name: Restore Cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
id: cache
with:
path: /home/linuxbrew/.linuxbrew
Expand All @@ -78,7 +85,7 @@ jobs:
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
brew install swift-format
- name: Save Cache
uses: actions/cache/save@v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
if: steps.cache.outputs.cache-hit != 'true'
with:
path: /home/linuxbrew/.linuxbrew
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/licence-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,20 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
check-files-license-headers:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Setup go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e
with:
go-version: "^1.13.1"
# Go is used by addlicense command (addlicense is used in melos run
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7
with:
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
config-file: release-please-config.json
Expand Down
37 changes: 20 additions & 17 deletions .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test-dart-and-android:
name: Run Dart and Android unit tests
Expand All @@ -38,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
name: Checkout code
- uses: actions/setup-java@v4
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
name: Setup java
with:
distribution: "temurin"
Expand All @@ -61,7 +64,7 @@ jobs:
- name: Run Android native unit tests
run: melos run test:android
- name: Upload build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: ${{ runner.os }}-build-artifact
include-hidden-files: true
Expand Down Expand Up @@ -97,7 +100,7 @@ jobs:
- name: "Run iOS native unit tests"
run: TEST_DEVICE='iPhone 17 Pro' TEST_OS='26.5' melos run test:ios
- name: Upload build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: ${{ runner.os }}-build-artifact
include-hidden-files: true
Expand All @@ -117,7 +120,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
distribution: "temurin"
java-version: "17"
Expand All @@ -133,13 +136,13 @@ jobs:
with:
melos-version: "6.3.2"
- name: Download Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
name: ${{ runner.os }}-build-artifact
- name: "Run build for Android"
run: melos run flutter-build-android
- name: Upload build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: ${{ runner.os }}-build-artifact
include-hidden-files: true
Expand Down Expand Up @@ -171,15 +174,15 @@ jobs:
with:
melos-version: "6.3.2"
- name: Download Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
name: ${{ runner.os }}-build-artifact
- name: Select XCode 26.5
run: sudo xcode-select -s '/Applications/Xcode_26.5.app/Contents/Developer'
- name: "Run build for iOS"
run: melos run flutter-build-ios
- name: Upload build artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
with:
name: ${{ runner.os }}-build-artifact
include-hidden-files: true
Expand Down Expand Up @@ -208,7 +211,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6
with:
distribution: "temurin"
java-version: "17"
Expand All @@ -219,9 +222,9 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Setup Android SDK
uses: android-actions/setup-android@v3
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699
- name: Cache ADB keys
uses: actions/cache@v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
with:
path: ~/.android/adb*
key: adb-keys
Expand All @@ -232,11 +235,11 @@ jobs:
channel: "stable"
cache: true
- name: Download Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
name: ${{ runner.os }}-build-artifact
- name: Cache pub global packages
uses: actions/cache@v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
with:
path: ~/.pub-cache
key: ${{ runner.os }}-pub-cache-${{ env.patrol_cli_version }}
Expand Down Expand Up @@ -280,7 +283,7 @@ jobs:
run: |
patrol test --dart-define=IS_CI=true ${{ runner.debug && '--show-flutter-logs --verbose' || '' }}
- name: Upload test report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
if: ${{ always() }}
with:
name: android_integration_test_report
Expand Down Expand Up @@ -340,11 +343,11 @@ jobs:
# Save DEVICE_ID for later use
echo "DEVICE_ID=$DEVICE_ID" >> $GITHUB_ENV
- name: Download Build Artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c
with:
name: ${{ runner.os }}-build-artifact
- name: Cache pub global packages
uses: actions/cache@v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
with:
path: ~/.pub-cache
key: ${{ runner.os }}-pub-cache-${{ env.patrol_cli_version }}
Expand All @@ -361,7 +364,7 @@ jobs:
run: |
patrol test --dart-define=MAPS_API_KEY="$MAPS_API_KEY" --dart-define=IS_CI=true --ios=$IOS_VERSION ${{ runner.debug && '--show-flutter-logs --verbose' || '' }} -d "$DEVICE_ID"
- name: Upload test report
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
if: ${{ always() }}
with:
name: ios_integration_test_report
Expand Down
Loading