2024-03-24 14:36:26 +01:00
|
|
|
name: lime-format
|
2023-09-22 18:15:47 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "*" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clang-format:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2024-04-15 23:47:18 +02:00
|
|
|
image: opensauce04/lime3ds-build:latest
|
2023-09-22 18:15:47 +02:00
|
|
|
options: -u 1001
|
|
|
|
steps:
|
2024-02-18 17:23:15 +01:00
|
|
|
- uses: actions/checkout@v4
|
2023-09-22 18:15:47 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2024-07-25 18:59:16 +02:00
|
|
|
- name: Clang format
|
2023-09-22 18:15:47 +02:00
|
|
|
env:
|
|
|
|
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
|
|
|
|
run: ./.ci/clang-format.sh
|