mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-23 11:15:32 +02:00
Perform GDScript format checks using pre-commit
This commit is contained in:
parent
8f08945df2
commit
aa2b93248e
4 changed files with 21 additions and 21 deletions
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
|
@ -320,16 +320,9 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
check-code-format:
|
||||
name: "Check Code Format"
|
||||
check-pre-commit:
|
||||
name: "Check Pre-Commit"
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.9
|
||||
cache: "pip"
|
||||
- name: Install python dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: GDScript format check
|
||||
run: gdformat -c .
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue