Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/check-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ jobs:
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >> "$GITHUB_ENV"
echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >>"$GITHUB_ENV"
else
echo "CLANG_FORMAT_VERSION=${{ github.event.inputs.clang-format-version }}" >> "$GITHUB_ENV"
echo "CLANG_FORMAT_VERSION=${{ github.event.inputs.clang-format-version }}" >>"$GITHUB_ENV"
fi

echo "CLANG_FORMAT_INSTALL_PATH=${{ runner.temp }}/clang-format" >> "$GITHUB_ENV"
echo "YQ_INSTALL_PATH=${{ runner.temp }}/yq" >> "$GITHUB_ENV"
echo "WORKING_FOLDER=${{ runner.temp }}" >> "$GITHUB_ENV"
echo "CLANG_FORMAT_INSTALL_PATH=${{ runner.temp }}/clang-format" >>"$GITHUB_ENV"
echo "YQ_INSTALL_PATH=${{ runner.temp }}/yq" >>"$GITHUB_ENV"
echo "WORKING_FOLDER=${{ runner.temp }}" >>"$GITHUB_ENV"

- name: Download ClangFormat
id: download-clang-format
Expand All @@ -106,7 +106,7 @@ jobs:

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >> "$GITHUB_PATH"
echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >>"$GITHUB_PATH"

- name: Download yq
id: download-yq
Expand All @@ -126,7 +126,7 @@ jobs:

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.YQ_INSTALL_PATH }}/yq" >> "$GITHUB_PATH"
echo "${{ env.YQ_INSTALL_PATH }}/yq" >>"$GITHUB_PATH"

- name: Check ClangFormat configuration file
id: check
Expand Down Expand Up @@ -164,13 +164,13 @@ jobs:
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
if [[ "${{ github.event.inputs.clang-format-version }}" == "" ]]; then
echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >> "$GITHUB_ENV"
echo "CLANG_FORMAT_VERSION=$(task clang-format:get-version)" >>"$GITHUB_ENV"
else
echo "CLANG_FORMAT_VERSION=${{ github.event.inputs.clang-format-version }}" >> "$GITHUB_ENV"
echo "CLANG_FORMAT_VERSION=${{ github.event.inputs.clang-format-version }}" >>"$GITHUB_ENV"
fi

echo "CLANG_FORMAT_INSTALL_PATH=${{ runner.temp }}/clang-format" >> "$GITHUB_ENV"
echo "WORKING_FOLDER=${{ runner.temp }}" >> "$GITHUB_ENV"
echo "CLANG_FORMAT_INSTALL_PATH=${{ runner.temp }}/clang-format" >>"$GITHUB_ENV"
echo "WORKING_FOLDER=${{ runner.temp }}" >>"$GITHUB_ENV"

- name: Download ClangFormat
id: download
Expand All @@ -191,7 +191,7 @@ jobs:

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >> "$GITHUB_PATH"
echo "${{ env.CLANG_FORMAT_INSTALL_PATH }}/clang_Linux_64bit" >>"$GITHUB_PATH"

- name: Check ClangFormat output
id: check
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
echo "CONVERSION_OUTPUT_PATH=${{ runner.temp }}/clang-format-js-object.txt" >> "$GITHUB_ENV"
echo "CONVERSION_OUTPUT_PATH=${{ runner.temp }}/clang-format-js-object.txt" >>"$GITHUB_ENV"

- name: Checkout repository
uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-files-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

check-filenames:
needs: run-determination
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-general-formatting-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

check:
needs: run-determination
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
echo "EC_INSTALL_PATH=${{ runner.temp }}/editorconfig-checker" >> "$GITHUB_ENV"
echo "EC_INSTALL_PATH=${{ runner.temp }}/editorconfig-checker" >>"$GITHUB_ENV"

- name: Checkout repository
uses: actions/checkout@v5
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.EC_INSTALL_PATH }}/bin" >> "$GITHUB_PATH"
echo "${{ env.EC_INSTALL_PATH }}/bin" >>"$GITHUB_PATH"

- name: Check formatting
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-javascript-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

check:
needs: run-determination
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

check-license:
name: ${{ matrix.check-license.path }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-markdown-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

lint:
needs: run-determination
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-npm-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

validate:
name: validate (${{ matrix.project.path }})
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-poetry-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

validate:
needs: run-determination
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-prettier-formatting-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

check:
needs: run-determination
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-python-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

lint:
needs: run-determination
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/check-shell-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

lint:
name: ${{ matrix.configuration.name }} (${{ matrix.script }})
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
echo "INSTALL_PATH=${{ runner.temp }}/shellcheck" >> "$GITHUB_ENV"
echo "INSTALL_PATH=${{ runner.temp }}/shellcheck" >>"$GITHUB_ENV"

- name: Checkout repository
uses: actions/checkout@v5
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.INSTALL_PATH }}/$EXTRACTION_FOLDER" >> "$GITHUB_PATH"
echo "${{ env.INSTALL_PATH }}/$EXTRACTION_FOLDER" >>"$GITHUB_PATH"

- name: Run ShellCheck
uses: liskin/gh-problem-matcher-wrap@v3
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
echo "SHFMT_INSTALL_PATH=${{ runner.temp }}/shfmt" >> "$GITHUB_ENV"
echo "SHFMT_INSTALL_PATH=${{ runner.temp }}/shfmt" >>"$GITHUB_ENV"

- name: Checkout repository
uses: actions/checkout@v5
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:

# Add installation to PATH:
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.SHFMT_INSTALL_PATH }}" >> "$GITHUB_PATH"
echo "${{ env.SHFMT_INSTALL_PATH }}" >>"$GITHUB_PATH"

- name: Format shell scripts
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-taskfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

validate:
name: Validate ${{ matrix.file }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-yaml-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
RESULT="false"
fi

echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT

check:
name: ${{ matrix.configuration.name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
RESULT="false"
fi
echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT
spellcheck:
needs: run-determination
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sync-labels-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Set environment variables
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >> "$GITHUB_ENV"
echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >>"$GITHUB_ENV"

- name: Determine whether to dry run
id: dry-run
Expand All @@ -116,7 +116,7 @@ jobs:
run: |
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
# configuration.
echo "flag=--dry-run" >> $GITHUB_OUTPUT
echo "flag=--dry-run" >>$GITHUB_OUTPUT

- name: Checkout repository
uses: actions/checkout@v5
Expand All @@ -142,7 +142,7 @@ jobs:
run: |
# Merge all configuration files
shopt -s extglob
cat "${{ env.CONFIGURATIONS_FOLDER }}"/*.@(yml|yaml) > "${{ env.MERGED_CONFIGURATION_PATH }}"
cat "${{ env.CONFIGURATIONS_FOLDER }}"/*.@(yml|yaml) >"${{ env.MERGED_CONFIGURATION_PATH }}"

- name: Install github-label-sync
run: npm install
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-install-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
shell: bash
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
echo "BINDIR=${{ runner.temp }}/custom-installation-folder" >> "$GITHUB_ENV"
echo "BINDIR=${{ runner.temp }}/custom-installation-folder" >>"$GITHUB_ENV"

- name: Download script artifact
uses: actions/download-artifact@v5
Expand Down Expand Up @@ -253,11 +253,11 @@ jobs:
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-environment-variable
FIRST_INSTALLATION_FOLDER="first-installation-folder"
echo "FIRST_INSTALLATION_FOLDER=${FIRST_INSTALLATION_FOLDER}" >> "$GITHUB_ENV"
echo "FIRST_BINDIR=${{ runner.temp }}/${FIRST_INSTALLATION_FOLDER}" >> "$GITHUB_ENV"
echo "FIRST_INSTALLATION_FOLDER=${FIRST_INSTALLATION_FOLDER}" >>"$GITHUB_ENV"
echo "FIRST_BINDIR=${{ runner.temp }}/${FIRST_INSTALLATION_FOLDER}" >>"$GITHUB_ENV"
SECOND_INSTALLATION_FOLDER="second-installation-folder"
echo "SECOND_INSTALLATION_FOLDER=${SECOND_INSTALLATION_FOLDER}" >> "$GITHUB_ENV"
echo "SECOND_BINDIR=${{ runner.temp }}/${SECOND_INSTALLATION_FOLDER}" >> "$GITHUB_ENV"
echo "SECOND_INSTALLATION_FOLDER=${SECOND_INSTALLATION_FOLDER}" >>"$GITHUB_ENV"
echo "SECOND_BINDIR=${{ runner.temp }}/${SECOND_INSTALLATION_FOLDER}" >>"$GITHUB_ENV"

- name: Download script artifact
uses: actions/download-artifact@v5
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
shell: bash
run: |
# See: https://docs.github.com/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path
echo "${{ env.FIRST_BINDIR }}" >> "$GITHUB_PATH"
echo "${{ env.FIRST_BINDIR }}" >>"$GITHUB_PATH"

- name: Check script output with previous installation in PATH (non-Windows)
if: runner.os != 'Windows'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python-poetry-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
RESULT="false"
fi
echo "result=$RESULT" >> $GITHUB_OUTPUT
echo "result=$RESULT" >>$GITHUB_OUTPUT
test:
needs: run-determination
Expand Down
Loading
Loading