From d8bf15dc6119cf5696c1768ca573e075ed671eba Mon Sep 17 00:00:00 2001 From: Joonas Kerttula Date: Wed, 1 Apr 2026 14:40:12 +0300 Subject: [PATCH 1/2] chore: update GitHub Actions versions and improve CI configuration --- .github/workflows/analyze.yaml | 8 ++++---- .github/workflows/licence-check.yaml | 4 ++-- .github/workflows/release-please.yml | 4 +++- .github/workflows/test-and-build.yaml | 28 +++++++++++++-------------- CONTRIBUTING.md | 4 ++-- 5 files changed, 25 insertions(+), 23 deletions(-) diff --git a/.github/workflows/analyze.yaml b/.github/workflows/analyze.yaml index 66fe78e3..25ac4ca4 100644 --- a/.github/workflows/analyze.yaml +++ b/.github/workflows/analyze.yaml @@ -29,9 +29,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" @@ -48,7 +48,7 @@ jobs: timeout-minutes: 20 steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup java uses: actions/setup-java@v4 with: @@ -56,7 +56,7 @@ jobs: java-version: "17" cache: "gradle" - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" diff --git a/.github/workflows/licence-check.yaml b/.github/workflows/licence-check.yaml index 11524680..e61709a7 100644 --- a/.github/workflows/licence-check.yaml +++ b/.github/workflows/licence-check.yaml @@ -29,7 +29,7 @@ jobs: timeout-minutes: 30 steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup go uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c with: @@ -39,7 +39,7 @@ jobs: - name: Run addlicense run: go install github.com/google/addlicense@latest - name: Install Flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index c8b13348..b8c1c78a 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -31,6 +31,8 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: googleapis/release-please-action@d1a8f221d7723166f48a584aebba00ef3f6febec + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 with: token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} + config-file: release-please-config.json + manifest-file: .release-please-manifest.json diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index 5c426778..7d35d70f 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -30,7 +30,7 @@ jobs: runs-on: labels: ubuntu-latest steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd name: Checkout code - uses: actions/setup-java@v4 name: Setup java @@ -38,7 +38,7 @@ jobs: distribution: "temurin" java-version: "17" cache: "gradle" - - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + - uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 name: Setup flutter with: flutter-version: "3.38.x" @@ -57,7 +57,7 @@ jobs: labels: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup java uses: actions/setup-java@v4 with: @@ -65,7 +65,7 @@ jobs: java-version: "17" cache: "gradle" - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" @@ -93,9 +93,9 @@ jobs: working_directory: "example" steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" @@ -137,7 +137,7 @@ jobs: MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }} steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup java uses: actions/setup-java@v4 with: @@ -145,7 +145,7 @@ jobs: java-version: "17" cache: "gradle" - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" @@ -180,9 +180,9 @@ jobs: MAPS_API_KEY: ${{ secrets.ACTIONS_API_KEY }} steps: - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" @@ -235,7 +235,7 @@ jobs: echo "MAPS_API_KEY is not available or empty." exit 1 - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup java uses: actions/setup-java@v4 with: @@ -255,7 +255,7 @@ jobs: path: ~/.android/adb* key: adb-keys - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" @@ -336,9 +336,9 @@ jobs: echo "MAPS_API_KEY is not available or empty." exit 1 - name: Checkout code - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd - name: Setup flutter - uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff + uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 with: flutter-version: "3.38.x" channel: "stable" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8fc39d9b..7d258430 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,10 +7,10 @@ _See also: [Flutter's code of conduct](https://flutter.io/design-principles/#cod - **Operating System:** Linux, macOS, or Windows. - **Version Control:** [git](https://git-scm.com). - **Development Environment:** An IDE such as [Android Studio](https://developer.android.com/studio) or [Visual Studio Code](https://code.visualstudio.com/). -- **Code Formatting:** [`swift-format`](https://formulae.brew.sh/formula/swift-formatt). +- **Code Formatting:** [`swift-format`](https://formulae.brew.sh/formula/swift-format). ### 1.1. Installing swift-format -The CI is locked to swift-format 600.0.0 version which you can install with the command below: +The CI is locked to swift-format 602.0.0 which you can install with the command below: ```bash curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/402e262f48947bad849ea7793752ff16b7038406/Formula/s/swift-format.rb brew install swift-format.rb From 54717cc1023a48d4629c896001be138a1e7c9ba9 Mon Sep 17 00:00:00 2001 From: Joonas Kerttula Date: Wed, 1 Apr 2026 17:45:28 +0300 Subject: [PATCH 2/2] chore: update addlicense ignore list --- melos.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/melos.yaml b/melos.yaml index 55689e41..cb67f0af 100644 --- a/melos.yaml +++ b/melos.yaml @@ -181,6 +181,7 @@ scripts: --ignore "**/example/build/**" \ --ignore "**/example/integration_test/test_bundle.dart" \ --ignore "**/example/ios/Flutter/ephemeral/**" \ + --ignore "**/example/android/.idea/**" \ --ignore "build/**" \ --ignore "**/GeneratedPluginRegistrant.*" \ --ignore "**/flutter_export_environment.sh" \ @@ -201,6 +202,7 @@ scripts: --ignore "**/example/build/**" \ --ignore "**/example/integration_test/test_bundle.dart" \ --ignore "**/example/ios/Flutter/ephemeral/**" \ + --ignore "**/example/android/.idea/**" \ --ignore "build/**" \ --ignore "**/GeneratedPluginRegistrant.*" \ --ignore "**/flutter_export_environment.sh" \