Lime3DS/.github/workflows/format.yml

23 lines
508 B
YAML
Raw Normal View History

name: lime-format
on:
push:
branches: [ "*" ]
pull_request:
branches: [ master ]
jobs:
clang-format:
runs-on: ubuntu-latest
container:
image: polarzincomfrio/lime-build-environments:linux-fresh
options: -u 1001
steps:
2024-02-18 10:23:15 -06:00
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build
env:
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
run: ./.ci/clang-format.sh