Prep for emscripten distribution #35
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: C Lint | |
on: | |
push: | |
paths: | |
- 'c/**' | |
- '!c/README.rst' | |
schedule: | |
- cron: "0 0 1 * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
c-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Setup clang-tidy | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: clang-tidy | |
version: 1.0 | |
- name: Run tests | |
run: make c_lint |