Merge pull request #15 from Mazurel/mazurel/feat/clangformat #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang formatting checker | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: silkeh/clang # https://hub.docker.com/r/silkeh/clang | |
env: | |
DRY: "TRUE" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Checking formatting | |
run: DRY=TRUE bash reformat-all.sh |