2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-11 01:53:02 +00:00
Files
OpenAssetTools/.github/workflows/check-formatting.yaml
2026-01-27 23:49:37 +01:00

33 lines
708 B
YAML

name: check-formatting
on:
pull_request:
jobs:
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
container: ubuntu:24.04
defaults:
run:
shell: bash
steps:
- name: Install base packages
run: |
apt-get update
apt-get install -y wget tar git make curl
- name: Checkout repository
uses: actions/checkout@v6
with:
submodules: recursive
- name: Configure clang
uses: ./.github/actions/configure-clang
with:
clang_version: 20
- name: Test formatting for all files
working-directory: ${{ github.workspace }}
run: ./scripts/check-format.sh