diff --git a/.github/workflows/check-go-task.yml b/.github/workflows/check-go-task.yml index 9d29ff1..496c6ca 100644 --- a/.github/workflows/check-go-task.yml +++ b/.github/workflows/check-go-task.yml @@ -121,10 +121,9 @@ jobs: - name: Check if any fixes were needed run: | - git \ - diff \ - --color \ - --exit-code + git diff \ + --color \ + --exit-code check-style: name: check-style (${{ matrix.module.path }}) @@ -201,10 +200,9 @@ jobs: - name: Check formatting run: | - git \ - diff \ - --color \ - --exit-code + git diff \ + --color \ + --exit-code check-config: name: check-config (${{ matrix.module.path }}) @@ -236,7 +234,6 @@ jobs: - name: Check whether any tidying was needed run: | - git \ - diff \ - --color \ - --exit-code + git diff \ + --color \ + --exit-code diff --git a/.github/workflows/check-npm-task.yml b/.github/workflows/check-npm-task.yml index 7e1167b..d5bf6f8 100644 --- a/.github/workflows/check-npm-task.yml +++ b/.github/workflows/check-npm-task.yml @@ -116,14 +116,12 @@ jobs: - name: Install npm dependencies run: | - task \ - npm:install-deps \ + task npm:install-deps \ PROJECT_PATH="${{ matrix.project.path }}" - name: Check package-lock.json run: | - git \ - diff \ - --color \ - --exit-code \ - "${{ matrix.project.path }}/package-lock.json" + git diff \ + --color \ + --exit-code \ + "${{ matrix.project.path }}/package-lock.json" diff --git a/.github/workflows/check-prettier-formatting-task.yml b/.github/workflows/check-prettier-formatting-task.yml index 6dec824..1dd347c 100644 --- a/.github/workflows/check-prettier-formatting-task.yml +++ b/.github/workflows/check-prettier-formatting-task.yml @@ -268,13 +268,10 @@ jobs: version: 3.x - name: Format with Prettier - run: | - task \ - general:format-prettier + run: task general:format-prettier - name: Check formatting run: | - git \ - diff \ - --color \ - --exit-code + git diff \ + --color \ + --exit-code diff --git a/.github/workflows/check-yaml-task.yml b/.github/workflows/check-yaml-task.yml index b0d585c..75c17a4 100644 --- a/.github/workflows/check-yaml-task.yml +++ b/.github/workflows/check-yaml-task.yml @@ -108,6 +108,5 @@ jobs: - name: Check YAML continue-on-error: ${{ matrix.configuration.continue-on-error }} run: | - task \ - yaml:lint \ + task yaml:lint \ YAMLLINT_FORMAT=${{ matrix.configuration.format }}