-
-
Notifications
You must be signed in to change notification settings - Fork 48
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 #210 from JordyHers-org/dev
[17.10.2023] Merge `dev` into `master`
- Loading branch information
Showing
61 changed files
with
2,127 additions
and
605 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,127 @@ | ||
{ | ||
"projectName": "Times-up-flutter", | ||
"projectOwner": "JordyHers-org", | ||
"repoType": "github", | ||
"repoHost": "https://github.com", | ||
"files": [ | ||
"README.md" | ||
], | ||
"emoji": "✨🚀", | ||
"imageSize": 70, | ||
"commit": true, | ||
"commitConvention": "atom", | ||
"contributors": [ | ||
{ | ||
"login": "JordyHers", | ||
"name": "Jordy Hershel Igondjo", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/49708438?v=4", | ||
"profile": "https://jordyhers.com/#/", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "i-am-ijaz", | ||
"name": "Muhammad Ijaz", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/25157495?v=4", | ||
"profile": "https://github.com/i-am-ijaz", | ||
"contributions": [ | ||
"code" | ||
|
||
] | ||
}, | ||
{ | ||
"login": "bhoomikshetty", | ||
"name": "Bhoomik Shetty", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/76581406?v=4", | ||
"profile": "https://github.com/bhoomikshetty", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "tarunsamanta2k20", | ||
"name": "Tarun Samanta", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/55488549?v=4", | ||
"profile": "https://github.com/tarunsamanta2k20", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "anthonycodes1", | ||
"name": "Mmegwa Anthony ", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/106021539?v=4", | ||
"profile": "https://github.com/anthonycodes1", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "gantanikhilraj", | ||
"name": "Nikhil Raj", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/112814295?v=4", | ||
"profile": "https://github.com/gantanikhilraj", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "darshsingh116", | ||
"name": "Darsh Singh", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/116330695?v=4", | ||
"profile": "https://github.com/darshsingh116", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "mehrozezaidi", | ||
"name": "mehrozezaidi", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/82540918?v=4", | ||
"profile": "https://github.com/mehrozezaidi", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "siddesh3101", | ||
"name": "Siddesh Shetty", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/84890369?v=4", | ||
"profile": "https://github.com/siddesh3101", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
|
||
{ | ||
"login": "ZakareyaAlatoli", | ||
"name": "Zakareya Alatoli", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/68600115?v=4", | ||
"profile": "https://zakareyaalatoli.github.io/", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "ckelwin", | ||
"name": "Chan Kelwin Hillary", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/5429312?v=4", | ||
"profile": "https://github.com/ckelwin", | ||
"contributions": [ | ||
"code" | ||
] | ||
}, | ||
{ | ||
"login": "verkit", | ||
"name": "Verdy Bangkit", | ||
"avatar_url": "https://avatars.githubusercontent.com/u/23150948?v=4", | ||
"profile": "https://github.com/verkit", | ||
"contributions": [ | ||
"code" | ||
] | ||
} | ||
], | ||
"contributorsPerLine": 5, | ||
"linkToUsage": true | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
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,128 @@ | ||
name: PR Review | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- dev | ||
- test | ||
- stage | ||
- master | ||
types: | ||
- opened | ||
- synchronize | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: review-${{ github.base_ref }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
actions: read | ||
checks: write | ||
|
||
jobs: | ||
|
||
branch-naming-check: | ||
name: Branch Naming Check | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check branch naming | ||
run: | | ||
branch_name="${{ github.event.pull_request.head.ref }}" | ||
regex="^(feature|bugfix|hotfix|chore|merge|MERGE)\/[a-zA-Z0-9\-]+$" | ||
if [[ ! $branch_name =~ $regex && "$branch_name" != "master" && "$branch_name" != "dev" ]]; then | ||
echo "error: Branch name does not follow naming convention" | ||
echo "Please follow the correct format: <category>/<description-in-kebab-case>" | ||
echo "Example: feature/sc-3000-create-new-button-component or chore/my-feature" | ||
exit 1 | ||
fi | ||
review: | ||
name: Review Flutter PR | ||
runs-on: ubuntu-latest | ||
needs: [branch-naming-check] | ||
env: | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: "3.10.0" | ||
channel: "stable" | ||
cache: true | ||
|
||
- name: Flutter Version | ||
run: flutter --version | ||
|
||
- name: Update Firebase CLI | ||
run: npm install -g firebase-tools | ||
|
||
- name: Debug Firebase CLI | ||
run: firebase --version | ||
|
||
- uses: w9jds/setup-firebase@main | ||
with: | ||
tools-version: 11.21.0 | ||
firebase_token: ${{ secrets.FIREBASE_TOKEN }} | ||
|
||
- name: Prepare firebase | ||
run: | | ||
dart pub global activate flutterfire_cli | ||
- name: Print firebase cli logs | ||
run: cat firebase-debug.log | ||
if: failure() | ||
|
||
- name: Install dependencies | ||
run: flutter pub get | ||
|
||
- name: Check format lib | ||
run: dart format . | ||
|
||
- name: Generate | ||
run: flutter pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Analyze | ||
run: flutter analyze | ||
|
||
- name: Run tests | ||
run: | | ||
mkdir reports | ||
flutter test --reporter=json > reports/test-results.json | ||
if: success() || failure() | ||
|
||
- name: Test Report | ||
uses: dorny/test-reporter@v1 | ||
if: success() || failure() | ||
with: | ||
name: "Unit Tests" | ||
reporter: 'flutter-json' | ||
path: 'reports/test-results.json' | ||
|
||
- name: Check genhtml installation | ||
run: | | ||
if ! command -v genhtml &> /dev/null; then | ||
echo "genhtml not found. Installing lcov package..." | ||
sudo apt-get update | ||
sudo apt-get install lcov | ||
fi | ||
continue-on-error: true | ||
|
||
- name: Check sed installation | ||
run: | | ||
if ! command -v sed &> /dev/null; then | ||
echo "sed not found. Installing sed..." | ||
sudo apt-get update | ||
sudo apt-get install sed | ||
fi | ||
continue-on-error: true |
Oops, something went wrong.