Skip to content

Commit

Permalink
Merge pull request #7 from endlessm/push-smukntmvumxp
Browse files Browse the repository at this point in the history
CI & linting improvements
  • Loading branch information
manuq authored Nov 11, 2024
2 parents f64981e + e2595cb commit d7c03d5
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 6 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8

[*.gd]
indent_style = tab
max_line_length = 100

[*.md]
indent_style = space
max_line_length = 80
5 changes: 5 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branches:
- main

# Cancel any ongoing previous run if a PR is updated
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
pre-commit:
name: Linting and Formatting
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
types:
- published

# Cancel any ongoing previous run if the job is re-triggered
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read
pages: write
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/godot-asset-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on:
types:
- published

# Cancel any ongoing previous run if the job is re-triggered
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

name: Push to Godot Asset Library

jobs:
Expand Down
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/Scony/godot-gdscript-toolkit
# Use this commit from the master branch until the next stable release with
# <https://github.com/Scony/godot-gdscript-toolkit/commit/e3c37fa54fb32ad99b0bceb2f17e7bc1ffd99806>
rev: f836958a4487e31e3c5ab35c57c7a2128b7e2303
rev: 4.3.3
hooks:
- id: gdlint
- id: gdformat
exclude: |
(?x)^(
addons/(.*)
)$
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Moddable Pong

This mini moddable game project by [Endless OS Foundation](https://endlessos.org) is intended to help ease the learning curve into Godot.
This mini moddable game project by [Endless OS
Foundation](https://endlessos.org) is intended to help ease the learning curve
into Godot.

This sample project allows learners to engage with game creation concepts, applying various modifications to the game itself, all without reading or writing any code.
This sample project allows learners to engage with game creation concepts,
applying various modifications to the game itself, all without reading or
writing any code.

The `doc/MODS.md` file details the mods that have been made available.

Expand Down

0 comments on commit d7c03d5

Please sign in to comment.