-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc44391
commit e458e2f
Showing
1,203 changed files
with
286,892 additions
and
62,926 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,24 @@ | ||
{ | ||
"name": "Flutter", | ||
"dockerFile": "../Dockerfile", | ||
"containerEnv": { | ||
"DISPLAY": "${localEnv:DISPLAY}" | ||
}, | ||
"runArgs": [ | ||
"--net=host", | ||
"--privileged" | ||
], | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"dart-code.dart-code", | ||
"dart-code.flutter" | ||
], | ||
"settings": { | ||
"terminal.integrated.defaultProfile.linux": "bash" | ||
} | ||
} | ||
}, | ||
"postCreateCommand": "fvm install -s && fvm flutter pub get", | ||
"remoteUser": "vscode" | ||
} |
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,3 @@ | ||
{ | ||
"flutter": "stable" | ||
} |
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,64 @@ | ||
name: 🐛 Bug Report | ||
description: Create a report to help us improve | ||
labels: ["bug"] | ||
|
||
body: | ||
- type: textarea | ||
attributes: | ||
label: 💡 Summary | ||
description: Tell us what the bug is | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 🥰 Expected Behavior | ||
description: Tell us what should happen | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 🤬 Actual Behavior | ||
description: | | ||
Tell us what happens instead of the expected behavior. | ||
Please include errors from the developer console and/or server log files if you have access to them. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: 📝 Steps to Reproduce | ||
placeholder: | | ||
1. | ||
2. | ||
3. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: 💻 Environment | ||
description: | | ||
Tell us where on the platform it happens | ||
DO NOT WRITE "latest". Please provide the specific version. | ||
Examples: | ||
* Model and OS of the device(s): Pixel 7a, Android 14 | ||
* Aria: 1.x.x+x | ||
* Server URL: misskey.io | ||
* Misskey: 2024.x.x | ||
value: | | ||
* Model and OS of the device(s): | ||
* Aria: | ||
* Server URL: | ||
* Misskey: | ||
render: markdown | ||
validations: | ||
required: false | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: Do you want to address this bug yourself? | ||
options: | ||
- label: Yes, I will patch the bug myself and send a pull request |
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,22 @@ | ||
name: ✨ Feature Request | ||
description: Suggest an idea for this project | ||
labels: ["feature"] | ||
|
||
body: | ||
- type: textarea | ||
attributes: | ||
label: Summary | ||
description: Tell us what the suggestion is | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Purpose | ||
description: Describe the specific problem or need you think this feature will solve, and who it will help. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Do you want to implement this feature yourself? | ||
options: | ||
- label: Yes, I will implement this by myself and send a pull request |
This file was deleted.
Oops, something went wrong.
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,116 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Dart | ||
uses: dart-lang/setup-dart@v1 | ||
|
||
- name: Format | ||
run: dart format --output=none --set-exit-if-changed \ | ||
$(find . -name '*.dart' -not -name '*.g.dart' -and -not -name '*.freezed.dart') | ||
|
||
analyze: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Get dependencies | ||
run: flutter pub get | ||
|
||
- name: Analyze | ||
uses: invertase/github-action-dart-analyzer@v3 | ||
with: | ||
fatal-infos: true | ||
custom-lint: true | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Get dependencies | ||
run: flutter pub get | ||
|
||
- name: Test | ||
run: flutter test | ||
|
||
integration-test-ios: | ||
runs-on: macos-14 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Get dependencies | ||
run: flutter pub get | ||
|
||
- name: Start simulator | ||
uses: futureware-tech/simulator-action@v3 | ||
with: | ||
model: 'iPhone 14' | ||
|
||
- name: Integration test | ||
run: flutter test integration_test | ||
|
||
check-i18n-sorting: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Get changed i18n files | ||
id: changed-i18n-files | ||
uses: tj-actions/changed-files@v44 | ||
with: | ||
files: lib/i18n/aria/*.i18n.yaml | ||
|
||
- name: Install Flutter | ||
if: steps.changed-i18n-files.outputs.any_changed == 'true' | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Get dependencies | ||
if: steps.changed-i18n-files.outputs.any_changed == 'true' | ||
run: flutter pub get | ||
|
||
- name: Compare i18n files | ||
if: steps.changed-i18n-files.outputs.any_changed == 'true' | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.changed-i18n-files.outputs.all_changed_files }} | ||
run: | | ||
for file in $ALL_CHANGED_FILES; do | ||
cp $file $file.copy | ||
dart run script/sort_yaml.dart $file | ||
cmp $file $file.copy | ||
done |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.