Update macOS CI runners to 13 for the oldest and 14 for the newest #298
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 Analyzers | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cpplint: | |
runs-on: ubuntu-latest | |
container: helics/buildenv:cpplint | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run cpplint | |
run: cpplint --exclude=src/fmi/FMI2 --counting=detailed --recursive src tests | |
clang-tidy: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
container: helics/buildenv:clang-extra-tools | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clang-tidy on changed files | |
shell: bash | |
run: | | |
git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
./.github/actions/run-clang-tidy-pr.sh |