-
Notifications
You must be signed in to change notification settings - Fork 12
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
Showing
31 changed files
with
1,180 additions
and
39 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,14 @@ | ||
--- | ||
|
||
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
patreon: # Replace with a single Patreon username | ||
open_collective: # Replace with a single Open Collective username | ||
ko_fi: # Replace with a single Ko-fi username | ||
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
liberapay: # Replace with a single Liberapay username | ||
issuehunt: # Replace with a single IssueHunt username | ||
otechie: # Replace with a single Otechie username | ||
custom: [ | ||
'', | ||
] |
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,65 @@ | ||
name: Report a problem/bug | ||
description: Any issues that you have found while using the server | ||
labels: ["Type: Bug"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this issue! | ||
- type: dropdown | ||
id: priority | ||
attributes: | ||
label: Priority | ||
description: How critical is this? | ||
options: | ||
- Low | ||
- Medium | ||
- High | ||
- Critical | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
id: area | ||
attributes: | ||
label: Area | ||
description: Where is the problem? | ||
options: | ||
- label: Datapack | ||
- label: Source | ||
- label: Map | ||
- label: Other | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Describe your problem/bug and add screenshots, logs or anything that can help verifying the bug | ||
placeholder: Tell us what you see! | ||
value: "A bug happened!" | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: os | ||
attributes: | ||
label: What OS are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Linux | ||
- Windows | ||
- MacOS | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/jprzimba/crystalserver/blob/main/markdowns/CODE_OF_CONDUCT.md) | ||
options: | ||
- label: I agree to follow this project's Code of Conduct | ||
required: 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,48 @@ | ||
name: Request | ||
description: Any request | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this issue! | ||
- type: dropdown | ||
id: priority | ||
attributes: | ||
label: Priority | ||
description: How critical is this? | ||
options: | ||
- Missing Content | ||
- Enhancement | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
id: area | ||
attributes: | ||
label: Area | ||
description: Where is the problem? | ||
options: | ||
- label: Datapack | ||
- label: Source | ||
- label: Map | ||
- label: Other | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: missing-content | ||
attributes: | ||
label: What is missing? | ||
description: Map, sprite, script, quest, teleport, monster, etc. Attach screenshots, logs, etc, anything that can helps us | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/jprzimba/crystalserver/blob/main/markdowns/CODE_OF_CONDUCT.md) | ||
options: | ||
- label: I agree to follow this project's Code of Conduct | ||
required: 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,47 @@ | ||
|
||
# Description | ||
|
||
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
## Behaviour | ||
### **Actual** | ||
|
||
Do this and that doesn't happens | ||
|
||
### **Expected** | ||
|
||
Do this and that happens | ||
|
||
### Fixes #issuenumber | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug fix (non-breaking change which fixes an issue) | ||
- [ ] New feature (non-breaking change which adds functionality) | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
## How Has This Been Tested | ||
|
||
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration | ||
|
||
- [ ] Test A | ||
- [ ] Test B | ||
|
||
**Test Configuration**: | ||
|
||
- Server Version: | ||
- Client: | ||
- Operating System: | ||
|
||
## Checklist | ||
|
||
- [ ] My code follows the style guidelines of this project | ||
- [ ] I have performed a self-review of my own code | ||
- [ ] I checked the PR checks reports | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] My changes generate no new warnings | ||
- [ ] I have added tests that prove my fix is effective or that my feature works |
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 @@ | ||
--- | ||
"Area: Source": | ||
- any: ['src/**/*'] | ||
|
||
"Area: Datapack Core": | ||
- any: ['data/**/*'] | ||
|
||
"Area: Datapack Global": | ||
- any: ['data-global/**/*', '!data-global/world/*'] | ||
|
||
"Area: Map Global": | ||
- any: ['data-global/world/*'] | ||
|
||
"Area: Docker": | ||
- any: ['docker/**/*'] | ||
|
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: Analysis - Review Dog | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "src/**" | ||
push: | ||
paths: | ||
- "src/**" | ||
|
||
jobs: | ||
cppcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
if: github.ref != 'refs/heads/main' | ||
uses: fkirc/skip-duplicate-actions@master | ||
with: | ||
concurrent_skipping: "same_content" | ||
cancel_others: true | ||
|
||
- name: Check out code. | ||
uses: actions/checkout@main | ||
|
||
- name: Setup reviewdog | ||
uses: reviewdog/action-setup@v1.0.3 | ||
|
||
- name: Setup cppcheck | ||
run: sudo apt-get update && sudo apt-get install -y cppcheck | ||
|
||
- name: cppcheck | ||
env: | ||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
cd "$GITHUB_WORKSPACE" | ||
cppcheck --version | ||
reviewdog -reporter=github-pr-check -runners=cppcheck |
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,121 @@ | ||
--- | ||
name: Analysis - Review Dog | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
luac: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
if: github.ref != 'refs/heads/main' | ||
uses: fkirc/skip-duplicate-actions@master | ||
with: | ||
concurrent_skipping: "same_content" | ||
cancel_others: true | ||
|
||
- name: Check out code. | ||
uses: actions/checkout@main | ||
|
||
- name: Setup reviewdog | ||
uses: reviewdog/action-setup@v1.0.3 | ||
|
||
- name: Setup Lua/Luacheck | ||
run: sudo apt-get update && sudo apt-get install -y libluajit-5.1-dev lua-check | ||
|
||
- name: luac | ||
env: | ||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
cd "$GITHUB_WORKSPACE" | ||
luac -v | ||
reviewdog -reporter=github-pr-check -runners=luac | ||
luacheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code. | ||
uses: actions/checkout@main | ||
|
||
- name: Setup reviewdog | ||
uses: reviewdog/action-setup@v1.0.3 | ||
|
||
- name: Setup Lua/Luacheck | ||
run: sudo apt-get update && sudo apt-get install -y libluajit-5.1-dev lua-check | ||
|
||
- name: luacheck | ||
env: | ||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
luacheck --version | ||
cd "$GITHUB_WORKSPACE" | ||
reviewdog -reporter=github-pr-check -runners=luacheck | ||
shellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code. | ||
uses: actions/checkout@main | ||
|
||
- name: shellcheck | ||
uses: reviewdog/action-shellcheck@v1.15.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-pr-check | ||
pattern: "*.sh" | ||
exclude: "./.git/*" | ||
|
||
xmllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code. | ||
uses: actions/checkout@main | ||
|
||
- name: Setup reviewdog | ||
uses: reviewdog/action-setup@v1.0.3 | ||
|
||
- name: Setup xmllint | ||
run: sudo apt-get update && sudo apt-get install -y libxml2-utils | ||
|
||
- name: xmllint | ||
env: | ||
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
cd "$GITHUB_WORKSPACE" | ||
xmllint --version | ||
reviewdog -reporter=github-pr-check -runners=xmllint | ||
yamllint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code. | ||
uses: actions/checkout@main | ||
|
||
- name: Run yamllint | ||
uses: reviewdog/action-yamllint@v1.6.1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-pr-check | ||
|
||
hadolint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@main | ||
|
||
- name: hadolint | ||
uses: reviewdog/action-hadolint@v1.33.0 | ||
with: | ||
reporter: github-pr-check | ||
|
||
actionlint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@main | ||
|
||
- name: actionlint | ||
uses: reviewdog/action-actionlint@v1 | ||
with: | ||
reporter: github-pr-check |
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: Build - Docker (dummy) | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
paths-ignore: | ||
- "src/**" | ||
|
||
jobs: | ||
build_docker_x86: | ||
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "This is a dummy job to satisfy branch protection checks" | ||
|
||
build_docker_arm: | ||
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "This is a dummy job to satisfy branch protection checks" |
Oops, something went wrong.