feat: improve building IWD and IPak obj containers #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |