Fix the targets in Github Actions. #76
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: 📊 Static Checks | |
on: [push, pull_request] | |
jobs: | |
static-checks: | |
name: Formatting (clang-format, file format) | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install -qq dos2unix recode clang-format | |
- name: File formatting checks (file_format.sh) | |
run: | | |
bash ./.github/workflows/scripts/file_format.sh | |
- name: Style checks via clang-format (clang_format.sh) | |
run: | | |
bash ./.github/workflows/scripts/clang_format.sh |