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