-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
161 changed files
with
4,999 additions
and
1,154 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# Normalize EOL for all files that Git considers text files. | ||
* text=auto eol=lf | ||
|
||
addons/** linguist-vendored=true | ||
/img/** export-ignore |
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 @@ | ||
--- | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
assignees: | ||
- "lishaduck" | ||
groups: | ||
github-actions: | ||
patterns: | ||
- "actions/*" |
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,138 @@ | ||
--- | ||
name: CI/CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
merge_group: | ||
schedule: | ||
- cron: "0 14 * * 1" # Every Monday at 9 A.M. CST. | ||
workflow_dispatch: | ||
|
||
env: | ||
CI: true | ||
GODOT_VERSION: "4.2.1" | ||
GDTOOLKIT_VERSION: "4.2.2" | ||
DENO_VERSION: "v1.40.3" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
needs: [] | ||
timeout-minutes: ${{ (matrix.target == 'web') && 5 || 10 }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
target: | ||
- quest | ||
include: | ||
- target: quest | ||
os: ubuntu-latest | ||
godot-flags: --export-release "Meta Quest" build/index.html | ||
|
||
steps: | ||
- name: 📚 Git checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
clean: true | ||
persist-credentials: false | ||
set-safe-directory: true | ||
- name: 🤖 Set up Godot | ||
uses: chickensoft-games/setup-godot@d3fbddfbafb76fbce64d878aa3d31090e5d0fe0c # v1.5.6 | ||
with: | ||
version: ${{ env.GODOT_VERSION }} | ||
use-dotnet: false | ||
- name: 🔬 Verify setup | ||
run: godot --version | ||
- name: 🔌 Make and delete directories | ||
run: mkdir build/ && rm -rf addons/{godot-git-plugin,wakatime} | ||
- name: 🔧 Build | ||
run: godot --headless ${{ matrix.godot-flags }} | ||
- name: ⚙️ Upload build | ||
if: matrix.target == 'quest' | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | ||
with: | ||
name: build-${{ matrix.target }} | ||
path: "./build" | ||
if-no-files-found: error | ||
|
||
lint: | ||
name: Linting | ||
needs: [] | ||
timeout-minutes: 5 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 📚 Git checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
clean: true | ||
persist-credentials: false | ||
set-safe-directory: true | ||
- name: 🤖 Set up Godot | ||
uses: Scony/godot-gdscript-toolkit@cbd7a1dcff14cd272787a4ca497c7ff328714a6c # master | ||
with: | ||
version: ${{ env.GDTOOLKIT_VERSION }} | ||
- name: 🔬 Verify setup | ||
run: gdparse --version | ||
- name: 🕵️ Analyze project source | ||
run: gdlint . | ||
|
||
format: | ||
name: Formatting | ||
needs: [] | ||
timeout-minutes: 3 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: 📚 Git checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
clean: true | ||
persist-credentials: false | ||
set-safe-directory: true | ||
- name: 🤖 Set up Godot | ||
uses: Scony/godot-gdscript-toolkit@cbd7a1dcff14cd272787a4ca497c7ff328714a6c # master | ||
with: | ||
version: ${{ env.GDTOOLKIT_VERSION }} | ||
- name: 🔬 Verify setup | ||
run: gdparse --version | ||
- name: ✨ Verify formatting | ||
run: gdformat --check $(find . -name '*.gd' -not -path "./addons/*") | ||
|
||
check: | ||
name: Check TS | ||
needs: [] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
permissions: | ||
pull-requests: write # Needed for Biome PR comments. | ||
|
||
steps: | ||
- name: 📚 Git checkout | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
clean: true | ||
persist-credentials: false | ||
set-safe-directory: true | ||
- name: 🦕 Install Deno | ||
uses: denoland/setup-deno@041b854f97b325bd60e53e9dc2de9cb9f9ac0cba # v1.1.4 | ||
with: | ||
deno-version: ${{ env.DENO_VERSION }} | ||
- name: 🕵️ Run linter, verify formatting, typecheck | ||
run: deno task ci | ||
- name: 🧪 Run tests | ||
run: deno task test | ||
- name: 📊 Collect coverage | ||
run: deno task test:coverage |
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 |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# Godot 4+ specific ignores | ||
.godot/ | ||
|
||
# Godot-specific ignores | ||
.import/ | ||
export.cfg | ||
|
||
# Imported translations (automatically generated from CSV files) | ||
*.translation | ||
|
||
# Mono-specific ignores | ||
.mono/ | ||
data_*/ | ||
mono_crash.*.json | ||
|
||
# Build-specific ignores | ||
build/ | ||
android/ |
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,7 @@ | ||
{ | ||
"recommendations": [ | ||
"razoric.gdscript-toolkit-formatter", | ||
"eddiedover.gdscript-formatter-linter", | ||
"geequlim.godot-tools" | ||
] | ||
} |
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,13 @@ | ||
{ | ||
"[gdscript]": { | ||
"editor.defaultFormatter": "EddieDover.gdscript-formatter-linter", | ||
"editor.insertSpaces": false, | ||
"editor.tabSize": 4, | ||
"editor.detectIndentation": false | ||
}, | ||
"files.associations": { | ||
"gdlintrc": "yaml" | ||
}, | ||
"cSpell.words": ["elif", "onready", "spawnables", "teleporter", "tscn"], | ||
"cSpell.enableFiletypes": ["gdscript"] | ||
} |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2016-2023 The Godot Engine community | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Oops, something went wrong.