-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: formates CodeStyleWorkflow with yq
Command: `yq e -i '.' .github/workflows/CodeStyleWorkflow.yml -o=y´
- Loading branch information
Noah Ruben
committed
May 26, 2024
1 parent
3e92108
commit 147d6a9
Showing
1 changed file
with
12 additions
and
13 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,23 +1,22 @@ | ||
name: Code style workflow | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "master" ] | ||
branches: ["master"] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
branches: ["master"] | ||
jobs: | ||
static-checks: | ||
name: 'Static checks' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: Scony/godot-gdscript-toolkit@master | ||
- run: echo "# Lint result" >> result | ||
- run: gdlint logger.gd plugin.gd &>> result | ||
continue-on-error: true | ||
- run: echo "# Can files be formatted" >> result | ||
- run: gdformat --check logger.gd plugin.gd &>> result | ||
continue-on-error: true | ||
- run: cat ./result >> $GITHUB_STEP_SUMMARY | ||
- uses: actions/checkout@v3 | ||
- uses: Scony/godot-gdscript-toolkit@master | ||
- run: echo "# Lint result" >> result | ||
- run: gdlint logger.gd plugin.gd &>> result | ||
continue-on-error: true | ||
- run: echo "# Can files be formatted" >> result | ||
- run: gdformat --check logger.gd plugin.gd &>> result | ||
continue-on-error: true | ||
- run: cat ./result >> $GITHUB_STEP_SUMMARY | ||
|