-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into endless_runner
- Loading branch information
Showing
331 changed files
with
10,034 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Always perform LF normalization on these files | ||
*.c text | ||
*.cc text | ||
*.cmake text | ||
*.dart text | ||
*.gradle text | ||
*.h text | ||
*.html text | ||
*.java text | ||
*.json text | ||
*.md text | ||
*.py text | ||
*.sh text | ||
*.swift text | ||
*.txt text | ||
*.xml text | ||
*.yaml text | ||
|
||
# Make sure that these Windows files always have CRLF line endings in checkout | ||
*.bat text eol=crlf | ||
*.ps1 text eol=crlf | ||
*.rc text eol=crlf | ||
*.sln text eol=crlf | ||
*.props text eol=crlf | ||
*.vcxproj text eol=crlf | ||
*.vcxproj.filters text eol=crlf | ||
# Including templatized versions. | ||
*.sln.tmpl text eol=crlf | ||
*.props.tmpl text eol=crlf | ||
*.vcxproj.tmpl text eol=crlf | ||
|
||
# Never perform LF normalization on these files | ||
*.ico binary | ||
*.jar binary | ||
*.png binary | ||
*.zip binary |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* | ||
|
||
*List which issues are fixed by this PR. For larger changes, raising an issue first helps | ||
reduce redundant work.* | ||
|
||
## Pre-launch Checklist | ||
|
||
- [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. | ||
- [ ] I signed the [CLA]. | ||
- [ ] I read the [Contributors Guide]. | ||
- [ ] I updated/added relevant documentation (doc comments with `///`). | ||
- [ ] All existing and new tests are passing. | ||
|
||
If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. | ||
|
||
<!-- Links --> | ||
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo | ||
[CLA]: https://cla.developers.google.com/ | ||
[Discord]: https://github.com/flutter/flutter/wiki/Chat | ||
[Contributors Guide]: https://github.com/flutter/games/blob/main/CONTRIBUTING.md |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: 2 | ||
enable-beta-ecosystems: true | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "autosubmit" | ||
- package-ecosystem: "pub" | ||
directory: "templates/basic/" | ||
schedule: | ||
interval: "daily" | ||
labels: | ||
- "autosubmit" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Configuration for probot-no-response - https://github.com/probot/no-response | ||
|
||
# Number of days of inactivity before an issue is closed for lack of response. | ||
daysUntilClose: 14 | ||
|
||
# Label requiring a response. | ||
responseRequiredLabel: "needs-info" | ||
|
||
# Comment to post when closing an Issue for lack of response. | ||
closeComment: >- | ||
Without additional information we're not able to resolve this issue, | ||
so it will be closed at this time. You're still free to add more info | ||
and respond to any questions above, though. We'll reopen the case | ||
if you do. | ||
Thanks for your contribution! |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Beta Branch CI | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
on: | ||
push: | ||
branches: [beta] | ||
pull_request: | ||
branches: [beta] | ||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
# Run the stable test script on the beta channel. Since this branch will soon | ||
# be merged into main as our stable-targeting code, this is the key thing we | ||
# need to test. | ||
stable-tests-on-beta: | ||
runs-on: ${{ matrix.os }} | ||
if: github.repository == 'flutter/samples' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | ||
with: | ||
channel: beta | ||
- run: ./flutter_ci_script_stable.sh |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Main Branch CI | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" # Every day at midnight | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
flutter-tests: | ||
name: Test Flutter ${{ matrix.flutter_version }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
if: github.repository == 'flutter/samples' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
flutter_version: [stable, beta] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | ||
with: | ||
channel: ${{ matrix.flutter_version }} | ||
- run: ./flutter_ci_script_${{ matrix.flutter_version }}.sh |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Scorecards supply-chain security | ||
on: | ||
# Only the default branch is supported. | ||
branch_protection_rule: | ||
push: | ||
branches: [ main ] | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
jobs: | ||
analysis: | ||
name: Scorecards analysis | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'flutter/samples' }} | ||
permissions: | ||
# Needed to upload the results to code-scanning dashboard. | ||
security-events: write | ||
actions: read | ||
contents: read | ||
id-token: write | ||
|
||
steps: | ||
- name: "Checkout code" | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: "Run analysis" | ||
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 | ||
with: | ||
results_file: results.sarif | ||
results_format: sarif | ||
# Read-only PAT token. To create it, | ||
# follow the steps in https://github.com/ossf/scorecard-action#pat-token-creation. | ||
repo_token: ${{ secrets.SCORECARD_READ_TOKEN }} | ||
# Publish the results to enable scorecard badges. For more details, see | ||
# https://github.com/ossf/scorecard-action#publishing-results. | ||
# For private repositories, `publish_results` will automatically be set to `false`, | ||
# regardless of the value entered here. | ||
publish_results: true | ||
|
||
# Upload the results as artifacts (optional). | ||
- name: "Upload artifact" | ||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 | ||
with: | ||
name: SARIF file | ||
path: results.sarif | ||
retention-days: 5 | ||
|
||
# Upload the results to GitHub's code scanning dashboard. | ||
- name: "Upload to code-scanning" | ||
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a | ||
with: | ||
sarif_file: results.sarif |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Miscellaneous | ||
*.class | ||
*.log | ||
*.pyc | ||
*.swp | ||
.DS_Store | ||
.atom/ | ||
.buildlog/ | ||
.history | ||
.svn/ | ||
|
||
# IntelliJ related | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
|
||
# Visual Studio Code related | ||
.vscode/ | ||
|
||
# Flutter/Dart/Pub related | ||
**/doc/api/ | ||
.dart_tool/ | ||
.flutter-plugins | ||
.flutter-plugins-dependencies | ||
.packages | ||
.pub-cache/ | ||
.pub/ | ||
/build/ | ||
|
||
# Android related | ||
**/gradle-wrapper.jar | ||
**/android/.gradle | ||
**/android/captures/ | ||
**/android/gradlew | ||
**/android/gradlew.bat | ||
**/android/local.properties | ||
**/android/**/GeneratedPluginRegistrant.* | ||
|
||
# iOS/XCode related | ||
**/ios/**/*.mode1v3 | ||
**/ios/**/*.mode2v3 | ||
**/ios/**/*.moved-aside | ||
**/ios/**/*.pbxuser | ||
**/ios/**/*.perspectivev3 | ||
**/ios/**/*sync/ | ||
**/ios/**/.sconsign.dblite | ||
**/ios/**/.tags* | ||
**/ios/**/.vagrant/ | ||
**/ios/**/DerivedData/ | ||
**/ios/**/Icon? | ||
**/ios/**/Pods/ | ||
**/ios/**/.symlinks/ | ||
**/ios/**/profile | ||
**/ios/**/xcuserdata | ||
**/ios/.generated/ | ||
**/ios/Flutter/App.framework | ||
**/ios/Flutter/Flutter.framework | ||
**/ios/Flutter/Generated.xcconfig | ||
**/ios/Flutter/app.flx | ||
**/ios/Flutter/app.zip | ||
**/ios/Flutter/flutter_assets/ | ||
**/ios/Flutter/flutter_export_environment.sh | ||
**/ios/ServiceDefinitions.json | ||
**/ios/Runner/GeneratedPluginRegistrant.* | ||
|
||
# Web related | ||
**/web/**/lib/generated_plugin_registrant.dart | ||
|
||
# Service account files | ||
svc-keyfile.json | ||
|
||
# Lockfiles | ||
Podfile.lock | ||
pubspec.lock | ||
yarn.lock | ||
|
||
# Exceptions to above rules. | ||
!**/ios/**/default.mode1v3 | ||
!**/ios/**/default.mode2v3 | ||
!**/ios/**/default.pbxuser | ||
!**/ios/**/default.perspectivev3 | ||
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Below is a list of people and organizations that have contributed | ||
# to the project. Names should be added to the list like so: | ||
# | ||
# Name/Organization <email address> | ||
|
||
Google Inc. | ||
Filip Hracek <filip@raindead.com> |
Oops, something went wrong.