Merge pull request #367 from silicon-heaven/ub-fixes #218
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
# vim: sw=2 | |
name: Lint | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
clang-tidy: | |
name: clang-tidy / Ubuntu 22.04 | |
runs-on: ubuntu-22.04 | |
env: | |
CC: clang | |
CXX: clang++ | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Run clang-tidy | |
uses: ./.github/actions/run-linter | |
with: | |
lint_program_with_args: clang-tidy --quiet --warnings-as-errors=* | |
clazy: | |
name: clazy / Ubuntu 22.04 | |
runs-on: ubuntu-22.04 | |
env: | |
CC: clang | |
CXX: clang++ | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Run clazy | |
uses: ./.github/actions/run-linter | |
with: | |
lint_program_with_args: clazy-standalone --checks=level1,no-fully-qualified-moc-types,no-non-pod-global-static,no-range-loop-detach | |