CI: update checkout to v3, recursively checkout repository #4
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: Test Source Code Formatting | |
on: ['push', 'pull_request'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install clang format | |
run: sudo apt-get update && sudo apt-get install -y clang-format | |
- name: test if formatting is appropriate | |
run: make formatcheck |