-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from LeoAndo/release-v1.0.0
Release v1.0.0
- Loading branch information
Showing
187 changed files
with
10,809 additions
and
82 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,4 @@ | ||
{ | ||
"flutterSdkVersion": "3.7.3", | ||
"flavors": {} | ||
} |
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,6 @@ | ||
# see: https://zenn.dev/mamushi/articles/hide_generated_file_diff | ||
# 自動生成ファイルの diff をGithub Pull Requestに表示しないようにする | ||
*.freezed.dart linguist-generated=true | ||
*.g.dart linguist-generated=true | ||
*.gen.dart linguist-generated=true | ||
*.gr.dart linguist-generated=true |
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,11 @@ | ||
# issues (任意) | ||
|
||
# 修正内容 (必須) | ||
|
||
# capture (任意) | ||
|
||
| before | after | | ||
|:---|:---:| | ||
|<img src="" width=320 /> |<img src="" width=320 /> | | ||
|
||
# refs (任意) |
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,18 @@ | ||
{ | ||
"problemMatcher": [ | ||
{ | ||
"owner": "dart-analyzer", | ||
"pattern": [ | ||
{ | ||
"regexp": "^\\s*(info|warning|error)\\s•\\s(.*)\\s•\\s(.*):(\\d+):(\\d+)\\s•\\s(.*)$", | ||
"severity": 1, | ||
"message": 2, | ||
"file": 3, | ||
"line": 4, | ||
"column": 5, | ||
"code": 6 | ||
} | ||
] | ||
} | ||
] | ||
} |
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,152 @@ | ||
name: ci | ||
|
||
on: | ||
push: | ||
branches: [ "main", "develop", /^release\-.*$/ ] | ||
paths-ignore: | ||
- '**.md' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
# Check static dart formatting | ||
format: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Run flutter version | ||
run: flutter --version | ||
|
||
- name: Run flutter pub get | ||
run: flutter pub get | ||
|
||
- name: Run flutter pub run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Verify formatting | ||
run: dart format --output=none --set-exit-if-changed . | ||
|
||
|
||
# Check import_sorter | ||
import_sorter: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Run flutter version | ||
run: flutter --version | ||
|
||
- name: Run flutter pub get | ||
run: flutter pub get | ||
|
||
- name: Run flutter pub run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Run import_sorter | ||
run: flutter pub run import_sorter:main --exit-if-changed | ||
|
||
|
||
# Check flutter static analysis | ||
analyze: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Run flutter version | ||
run: flutter --version | ||
|
||
- name: Run flutter pub get | ||
run: flutter pub get | ||
|
||
- name: Run flutter pub run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Install matcher | ||
run: echo "::add-matcher::.github/analyzer-problem-matcher.json" | ||
|
||
- name: Run flutter analyze | ||
shell: bash | ||
run: | | ||
flutter analyze | tee ./flutter_analyze_report.txt | ||
- name: Remove matcher | ||
if: always() | ||
run: echo "::remove-matcher owner=dart-analyzer::" | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
if: always() | ||
with: | ||
ruby-version: '2.7' | ||
bundler-cache: true | ||
|
||
- name: Danger | ||
uses: MeilCli/danger-action@v5 | ||
if: always() | ||
with: | ||
plugins_file: 'Gemfile' | ||
install_path: 'vendor/bundle' | ||
danger_file: 'Dangerfile' | ||
danger_id: 'danger-pr' | ||
env: | ||
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
# Check flutter test | ||
test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 30 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
cache: true | ||
|
||
- name: Run flutter version | ||
run: flutter --version | ||
|
||
- name: Run flutter pub get | ||
run: flutter pub get | ||
|
||
- name: Run flutter pub run build_runner | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Run flutter test | ||
run: flutter test |
Oops, something went wrong.