Set up Cygwin before cloning our repo #648
Workflow file for this run
This file contains hidden or 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: Code format checking | |
| on: pull_request | |
| env: | |
| # Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/) | |
| TERM: xterm-256color | |
| CLICOLOR: 1 | |
| CLICOLOR_FORCE: 1 | |
| jobs: | |
| checkformat: | |
| runs-on: ubuntu-slim | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v6 | |
| - name: Install clang-format | |
| run: | | |
| sudo apt-get -Uyq install clang-format | |
| - name: Check format | |
| run: | | |
| contrib/checkformat.sh |