Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .github/ISSUE_TMEPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Bug
about: 버그 λ°œμƒ
title: ''
labels: ''
assignees: ''

---

## πŸ“Œ κ°œμš”
- 버그λ₯Ό κ°„λ‹¨ν•˜κ²Œ μ μ–΄μ£Όμ„Έμš”.

## πŸ“š 레퍼런슀 (λ˜λŠ” μƒˆλ‘œ μ•Œκ²Œ 된 λ‚΄μš©) ν˜Ήμ€ κΆκΈˆν•œ 사항듀
- μ°Έκ³ ν•  사항이 μžˆλ‹€λ©΄ μ μ–΄μ£Όμ„Έμš”.
14 changes: 14 additions & 0 deletions .github/ISSUE_TMEPLATE/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Feature
about: κΈ°λŠ₯ μΆ”κ°€
title: ''
labels: ''
assignees: ''

---

## πŸ“Œ κ°œμš”
- ν•  일을 κ°„λ‹¨ν•˜κ²Œ μ μ–΄μ£Όμ„Έμš”.

## πŸ“š 레퍼런슀 (λ˜λŠ” μƒˆλ‘œ μ•Œκ²Œ 된 λ‚΄μš©) ν˜Ήμ€ κΆκΈˆν•œ 사항듀
- μ°Έκ³ ν•  사항이 μžˆλ‹€λ©΄ μ μ–΄μ£Όμ„Έμš”.
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## πŸ’‘ κ°œμš”

## πŸ“ƒ μž‘μ—…λ‚΄μš©

## πŸ”€ 변경사항

## πŸ™‹β€β™‚οΈ μ§ˆλ¬Έμ‚¬ν•­

## 🍴 μ‚¬μš©λ°©λ²•

## 🎸 기타
143 changes: 143 additions & 0 deletions .github/workflows/jusicool_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
name: Jusicool CD

on:
release:
types:
- published
branches:
- master

jobs:
flutter_test:
name: Run flutter test and analyze
runs-on: macos-latest
steps:

- name: Checkout Flutter repository
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3.12.0
with:
distribution: 'oracle'
java-version: '17'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'

- name: Checking Flutter Version
run: flutter --version


- name: Install Dependencies
run: flutter pub get

- name: Analyze project source
run: flutter analyze

- name: Build Test IOS
run: flutter build ios --release --no-codesign

- name: Publish Design System
uses: k-paxian/dart-package-publisher@master

Copilot AI Jun 9, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is recommended to pin workflow actions to a specific version or tag instead of using the 'master' branch to avoid unexpected issues from upstream changes.

Suggested change
uses: k-paxian/dart-package-publisher@master
uses: k-paxian/dart-package-publisher@v1.0.0

Copilot uses AI. Check for mistakes.
with:
credentialJson: ${{ secrets.CREDENTIAL_JSON }}
flutter: true
skipTests: true

- name: Set timestamp
id: timestamp
run: echo "TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITHUB_ENV

- name: Notify Success for Release
if: success()
env:
TIMESTAMP: ${{ env.TIMESTAMP }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
DATA=$(cat <<EOF
{
"embeds": [
{
"title": "배포 성곡 :)",
"description": "** Release Version **\n> \`${{ github.event.release.tag_name }}\`\n",
"color": 46335,
"timestamp": "${{ env.TIMESTAMP }}",
"url": "${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}",
"author": {
"name": "${{ github.event.sender.login }}",
"url": "${{ github.event.sender.html_url }}",
"icon_url": "${{ github.event.sender.avatar_url }}"
},
"thumbnail": {
"url": "${{ github.event.sender.avatar_url }}"
},
"fields": [
{
"name": "Repository",
"value": "> [${{ github.repository }}](https://github.com/${{ github.repository }})\n"
},
{
"name": "Tag",
"value": "> [${{ github.event.release.tag_name }}](https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }})",
"inline": false
},
{
"name": "Workflow",
"value": "> [CI](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})",
"inline": false
}
]
}
]
}
EOF
)
curl -X POST -H 'Content-type:application/json' -d "$DATA" "${{ secrets.DISCORD_WEBHOOK_URL }}"

- name: Notify Failure
if: failure()
env:
TIMESTAMP: ${{ env.TIMESTAMP }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
DATA=$(cat <<EOF
{
"embeds": [
{
"title": "배포 μ‹€νŒ¨ :(",
"description": "** Release Version **\n> \`${{ github.event.release.tag_name }}\`\n",
"color": 16711680,
"timestamp": "${{ env.TIMESTAMP }}",
"url": "${{ github.server_url }}/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}",
"author": {
"name": "${{ github.event.sender.login }}",
"url": "${{ github.event.sender.html_url }}"
},
"thumbnail": {
"url": "${{ github.event.sender.avatar_url }}"
},
"fields": [
{
"name": "Repository",
"value": "> [${{ github.repository }}](https://github.com/${{ github.repository }})\n"
},
{
"name": "Tag",
"value": "> [${{ github.event.release.tag_name }}](https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }})",
"inline": false
},
{
"name": "Workflow",
"value": "> [CI](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})",
"inline": false
}
]
}
]
}
EOF
)
curl -X POST -H 'Content-type:application/json' -d "$DATA" "${{ secrets.DISCORD_WEBHOOK_URL }}"
193 changes: 193 additions & 0 deletions .github/workflows/jusicool_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
name: Jusicool CI

on:
push:
branches:
- develop
pull_request:

jobs:
flutter_test:
name: Run flutter test and analyze
runs-on: macos-latest
steps:

- name: Checkout Flutter repository
uses: actions/checkout@v4

- name: Setup Java
uses: actions/setup-java@v3.12.0
with:
distribution: 'oracle'
java-version: '17'

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'

- name: Checking Flutter Version
run: flutter --version

- name: Install Dependencies
run: flutter pub get

- name: Analyze project source
run: flutter analyze

- name: Test Package
run: flutter packages pub publish --dry-run

- name: Set timestamp
id: timestamp
run: echo "TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")" >> $GITHUB_ENV

- name: Notify Success for Push
if: github.event_name == 'push' && success()
env:
TIMESTAMP: ${{ env.TIMESTAMP }}
SUCCESS_FLUTTER_IMAGE: ${{ secrets.SUCCESS_FLUTTER_IMAGE }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
DATA=$(cat <<EOF
{
"content": "<@749992025985777755>, <@1055126447246823518>, <@1075320294446731326>",
"embeds": [
{
"title": "CI 성곡 :)",
"description": "** COMMIT MESSAGE **\n> [${{ github.event.head_commit.message }}](${{ github.event.head_commit.url }})\n",
"color": 46335,
"timestamp": "${{ env.TIMESTAMP }}",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"author": {
"name": "${{ github.event.sender.login }}",
"url": "${{ github.event.sender.html_url }}",
"icon_url": "${{ github.event.sender.avatar_url }}"
},
"thumbnail": {
"url": "${{ github.event.sender.avatar_url }}"
},
"fields": [
{
"name": "Repository",
"value": "> [${{ github.repository }}](https://github.com/${{ github.repository }})\n"
},
{
"name": "Branch",
"value": "> [${{ github.ref }}](https://github.com/${{ github.repository }}/tree/${{ github.ref_name }})",
"inline": false
},
{
"name": "Workflow",
"value": "> [CI](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})",
"inline": false
}
]
}
]
}
EOF
)
curl -X POST -H 'Content-type:application/json' -d "$DATA" "${{ secrets.DISCORD_WEBHOOK_URL }}"

- name: Notify Success for PR
if: github.event_name == 'pull_request' && success()
env:
TIMESTAMP: ${{ env.TIMESTAMP }}
SUCCESS_FLUTTER_IMAGE: ${{ secrets.SUCCESS_FLUTTER_IMAGE }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
DATA=$(cat <<EOF
{
"content": "<@749992025985777755>, <@1055126447246823518>, <@1075320294446731326>",
"embeds": [
{
"title": "CI 성곡 :)",
"description": "** Pull Request **\n> [${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})\n",
"color": 46335,
"timestamp": "${{ env.TIMESTAMP }}",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"author": {
"name": "${{ github.event.sender.login }}",
"url": "${{ github.event.sender.html_url }}"
},
"thumbnail": {
"url": "${{ github.event.sender.avatar_url }}"
},
"fields": [
{
"name": "Repository",
"value": "> [${{ github.repository }}](https://github.com/${{ github.repository }})\n"
},
{
"name": "Branch",
"value": "> [${{ github.ref }}](https://github.com/${{ github.repository }}/tree/${{ github.ref_name }})",
"inline": false
},
{
"name": "Workflow",
"value": "> [CI](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})",
"inline": false
}
]
}
]
}
EOF
)
curl -X POST -H 'Content-type:application/json' -d "$DATA" "${{ secrets.DISCORD_WEBHOOK_URL }}"

- name: Notify Failure
if: failure()
env:
TIMESTAMP: ${{ env.TIMESTAMP }}
FAIL_FLUTTER_IMAGE: ${{ secrets.FAIL_FLUTTER_IMAGE }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: |
DATA=$(cat <<EOF
{
"content": "<@749992025985777755>, <@1055126447246823518>, <@1075320294446731326>",
"embeds": [
{
"title": "CI μ‹€νŒ¨ :(",
"description": "** ${{
github.event_name == 'push'
&& 'COMMIT MESSAGE' || 'Pull Request' }} **\n> [${{
github.event_name == 'push'
&& github.event.head_commit.message ||
github.event.pull_request.title }}](${{
github.event_name == 'push'
&& github.event.head_commit.url ||
github.event.pull_request.html_url }})\n",
"color": 16711680,
"timestamp": "${{ env.TIMESTAMP }}",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"author": {
"name": "${{ github.event.sender.login }}",
"url": "${{ github.event.sender.html_url }}"
},
"thumbnail": {
"url": "${{ github.event.sender.avatar_url }}"
},
"fields": [
{
"name": "Repository",
"value": "> [${{ github.repository }}](https://github.com/${{ github.repository }})\n"
},
{
"name": "Branch",
"value": "> [${{ github.ref }}](https://github.com/${{ github.repository }}/tree/${{ github.ref_name }})",
"inline": false
},
{
"name": "Workflow",
"value": "> [CI](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})",
"inline": false
}
]
}
]
}
EOF
)
curl -X POST -H 'Content-type:application/json' -d "$DATA" "${{ secrets.DISCORD_WEBHOOK_URL }}"
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 1.0.0
* Published initial version of the package.
Loading