Skip to content

Commit a8069b9

Browse files
authored
Merge pull request #318 from endlessm/push-zwxpvrzwynty
Miscellaneous CI/linting improvements
2 parents a1459b6 + 4603ca5 commit a8069b9

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
6+
[*.gd]
7+
indent_style = tab
8+
max_line_length = 200

.github/workflows/checks.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
branches:
77
- main
88

9+
# Cancel any ongoing previous run if a PR is updated
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
914
jobs:
1015
pre-commit:
1116
name: Linting and Formatting

.pre-commit-config.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-yaml
1010
- id: check-added-large-files
1111
- repo: https://github.com/Scony/godot-gdscript-toolkit
12-
# Use this commit from the master branch until the next stable release with
13-
# <https://github.com/Scony/godot-gdscript-toolkit/commit/e3c37fa54fb32ad99b0bceb2f17e7bc1ffd99806>
14-
rev: f836958a4487e31e3c5ab35c57c7a2128b7e2303
12+
rev: 4.3.3
1513
hooks:
1614
- id: gdformat
1715
args: [--line-length=200]

0 commit comments

Comments
 (0)