OpenAssetTools/.github/workflows/check-formatting.yaml
dependabot[bot] 36957049a2
chore(deps): bump KyleMayes/install-llvm-action from 1 to 2
Bumps [KyleMayes/install-llvm-action](https://github.com/kylemayes/install-llvm-action) from 1 to 2.
- [Release notes](https://github.com/kylemayes/install-llvm-action/releases)
- [Changelog](https://github.com/KyleMayes/install-llvm-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kylemayes/install-llvm-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: KyleMayes/install-llvm-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 22:47:07 +00:00

24 lines
560 B
YAML

name: check-formatting
on:
pull_request:
jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: "17.0"
- name: Test formatting for all files
working-directory: ${{ github.workspace }}
run: |
export CLANG_FORMAT_BIN="${LLVM_PATH}/bin/clang-format"
./scripts/check-format.sh