2023-09-22 16:15:47 +00:00
|
|
|
name: citra-format
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "*" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clang-format:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2024-03-06 17:38:51 +00:00
|
|
|
image: pablomk7/build-environments:linux-fresh
|
2023-09-22 16:15:47 +00:00
|
|
|
options: -u 1001
|
|
|
|
steps:
|
2024-02-18 16:23:15 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-09-22 16:15:47 +00:00
|
|
|
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
|