Skip to content

Commit 3118ee7

Browse files
authored
Merge branch 'main' into add-content-resizing-sample
2 parents b8c20c3 + ebdd823 commit 3118ee7

897 files changed

Lines changed: 29042 additions & 49332 deletions

File tree

Some content is hidden

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

.gemini/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"dart": {
4+
"command": "dart",
5+
"args": [
6+
"mcp-server"
7+
]
8+
}
9+
},
10+
"contextFileName": "/.prompts/llm.md"
11+
}

.github/dependabot.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@ updates:
55
directory: "/"
66
schedule:
77
interval: "daily"
8-
labels:
9-
- "autosubmit"
10-
# Updating patch versions for "github-actions" is too chatty.
11-
# See https://github.com/flutter/flutter/issues/158350.
12-
ignore:
13-
- dependency-name: "*"
14-
update-types: ["version-update:semver-patch"]
8+
# Don't auto-submit github actions updates
9+
# labels:
10+
# - "autosubmit"
1511
- package-ecosystem: "npm"
1612
directory: "web_embedding/ng-flutter"
1713
schedule:

.github/workflows/beta.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,55 +15,55 @@ defaults:
1515
shell: bash
1616

1717
jobs:
18-
# Run the stable test script on the beta channel. Since this branch will soon
19-
# be merged into main as our stable-targeting code, this is the key thing we
20-
# need to test.
21-
stable-tests-on-beta:
18+
# Test all samples on the beta channel. Since the beta channel will soon be
19+
# promoted to stable, this branch is only concerned with the beta.
20+
Beta-CI:
21+
name: Test flutter beta channel
2222
runs-on: ${{ matrix.os }}
2323
if: github.repository == 'flutter/samples'
2424
strategy:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-latest, macos-latest, windows-latest]
2828
steps:
29-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
30-
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
29+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
30+
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e
3131
with:
3232
distribution: 'zulu'
3333
java-version: '17'
34-
- uses: subosito/flutter-action@395322a6cded4e9ed503aebd4cc1965625f8e59a
34+
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
3535
with:
3636
channel: beta
37-
- run: ./tool/flutter_ci_script_stable.sh
37+
- run: flutter pub get && dart tool/ci_script.dart
3838

3939
# Verify the Android add-to-app samples build and pass tests with the beta
4040
# channel.
41-
# android-build:
42-
# runs-on: ubuntu-latest
43-
# if: github.repository == 'flutter/samples'
44-
# steps:
45-
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46-
# - uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
47-
# with:
48-
# distribution: 'zulu'
49-
# java-version: '17'
50-
# - uses: subosito/flutter-action@395322a6cded4e9ed503aebd4cc1965625f8e59a
51-
# with:
52-
# channel: beta
53-
# - run: ./tool/android_ci_script.sh
54-
55-
# Verify the iOS add-to-app samples build and pass tests with the beta
56-
# channel.
57-
ios-build:
58-
runs-on: macos-latest
41+
android-build:
42+
runs-on: ubuntu-latest
5943
if: github.repository == 'flutter/samples'
6044
steps:
61-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
62-
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00
45+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
46+
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e
6347
with:
6448
distribution: 'zulu'
6549
java-version: '17'
66-
- uses: subosito/flutter-action@395322a6cded4e9ed503aebd4cc1965625f8e59a
50+
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
6751
with:
6852
channel: beta
69-
- run: ./tool/ios_ci_script.sh
53+
- run: ./tool/android_ci_script.sh
54+
55+
# Verify the iOS add-to-app samples build and pass tests with the beta
56+
# channel.
57+
# ios-build:
58+
# runs-on: macos-latest
59+
# if: github.repository == 'flutter/samples'
60+
# steps:
61+
# - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
62+
# - uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e
63+
# with:
64+
# distribution: 'zulu'
65+
# java-version: '17'
66+
# - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
67+
# with:
68+
# channel: beta
69+
# - run: ./tool/ios_ci_script.sh
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Android Build
2+
3+
# Declare default permissions as read only.
4+
permissions: read-all
5+
6+
on:
7+
push:
8+
branches: [beta]
9+
pull_request:
10+
branches: [beta]
11+
workflow_dispatch:
12+
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
jobs:
18+
android-build:
19+
runs-on: ubuntu-latest
20+
if: github.repository == 'flutter/samples'
21+
steps:
22+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
23+
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e
24+
with:
25+
distribution: 'zulu'
26+
java-version: '17'
27+
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
28+
with:
29+
channel: stable
30+
- run: ./tool/android_ci_script.sh

.github/workflows/build-ios.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test iOS Build
2+
3+
# Declare default permissions as read only.
4+
permissions: read-all
5+
6+
on:
7+
push:
8+
branches: [beta]
9+
pull_request:
10+
branches: [beta]
11+
workflow_dispatch:
12+
13+
defaults:
14+
run:
15+
shell: bash
16+
17+
jobs:
18+
ios-build:
19+
name: Test flutter beta channel
20+
runs-on: macos-latest
21+
if: github.repository == 'flutter/samples'
22+
strategy:
23+
fail-fast: false
24+
steps:
25+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
26+
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e
27+
with:
28+
distribution: 'zulu'
29+
java-version: '17'
30+
- uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
31+
with:
32+
channel: beta
33+
- run: ./tool/ios_ci_script.sh

0 commit comments

Comments
 (0)