mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-22 17:15:46 +00:00
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>
24 lines
560 B
YAML
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 |