2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-07 01:07:25 +00:00
Files
.github
workflows
check-formatting.yaml
ci.yaml
release.yaml
dependabot.yml
docs
raw
repo
scripts
src
test
thirdparty
tools
.clang-format
.gitignore
.gitmodules
CHANGES.md
LICENSE
README.md
generate.bat
generate.sh
premake5.lua
OpenAssetTools/.github/workflows/check-formatting.yaml
dependabot[bot] 6878deccf4 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-24 22:52:02 +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@v1
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