Merge pull request #74 from sir-gon/develop #279
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: CppCheck Lint | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: ["main"] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: CppCheck Lint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install tools | |
run: | | |
sudo snap install cppcheck | |
- name: Check Tools | |
run: | | |
make --version | |
cmake --version | |
vcpkg --version | |
cppcheck --version | |
- name: Install dependencies | |
run: | | |
make dependencies | |
- name: Lint | |
run: | | |
export VCPKG_ROOT=/usr/local/share/vcpkg | |
make test/static |