Skip to content

Commit

Permalink
chore: formates CodeStyleWorkflow with yq
Browse files Browse the repository at this point in the history
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.
25 changes: 12 additions & 13 deletions .github/workflows/CodeStyleWorkflow.yml
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

0 comments on commit 147d6a9

Please sign in to comment.