From c7514780c50b7c066b5262205631180ab537e587 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 20 Jul 2026 12:31:34 +0200 Subject: [PATCH] build: Update workflow (#1904) --- .github/workflows/check.yml | 60 ++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index aeb0c73f..41983115 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,5 +1,7 @@ on: [workflow_call] + name: "Check" + permissions: {} jobs: @@ -7,28 +9,38 @@ jobs: name: shellcheck runs-on: ubuntu-latest steps: - - - name: Checkout - uses: actions/checkout@v7 - - parallel: - - name: Run ShellCheck - uses: ludeeus/action-shellcheck@master - env: - SHELLCHECK_OPTS: -x --source-path=src -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028 - - - name: Lint Dockerfile - uses: hadolint/hadolint-action@v3.3.0 - with: - dockerfile: Dockerfile - ignore: DL3006,DL3008 - failure-threshold: warning - - - name: Validate XML - uses: action-pack/valid-xml@v1 - with: - path: "assets" - file-endings: ".xml" - - - name: Validate JSON and YML files - uses: GrantBirki/json-yaml-validate@v5 + name: Checkout + uses: actions/checkout@v7 + - parallel: + - + name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + env: + SHELLCHECK_OPTS: >- + -x + --source-path=src + -e SC1091 + -e SC2001 + -e SC2002 + -e SC2034 + -e SC2064 + -e SC2153 + -e SC2317 + -e SC2028 + - + name: Lint Dockerfile + uses: hadolint/hadolint-action@v3.3.0 + with: + dockerfile: Dockerfile + ignore: DL3006,DL3008 + failure-threshold: warning + - + name: Validate XML + uses: action-pack/valid-xml@v1 + with: + path: "assets" + file-endings: ".xml" + - + name: Validate JSON and YML files + uses: GrantBirki/json-yaml-validate@v5