Skip to content

Fix #758 - Properly encode path to QUrl when trying to display results #1015

Fix #758 - Properly encode path to QUrl when trying to display results

Fix #758 - Properly encode path to QUrl when trying to display results #1015

Workflow file for this run

name: Clang Format
on:
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format against C++ files touched by the PR
shell: bash
run: |
echo "GITHUB_REF=$GITHUB_REF GITHUB_BASE_REF=$GITHUB_BASE_REF GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
git fetch --all
echo "Using clang-format: $(clang-format --version)"
./ci/clang-format.sh HEAD remotes/origin/$GITHUB_BASE_REF
- name: Upload clang-format patch as artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: OpenStudioApplication-${{ github.sha }}-clang_format.patch
path: clang_format.patch