Skip to content

Update docker instructions to use Ubuntu 22.04 #4489

Update docker instructions to use Ubuntu 22.04

Update docker instructions to use Ubuntu 22.04 #4489

name: Static Analyzers
on:
workflow_dispatch:
push:
branches:
- develop
- main
- helics2
pull_request:
branches:
- develop
- main
- helics2
jobs:
cpplint:
runs-on: ubuntu-latest
container: helics/buildenv:cpplint
steps:
- uses: actions/checkout@v3
- name: Run cpplint
run: cpplint --counting=detailed --recursive examples benchmarks 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: ./.github/actions/run-clang-tidy-pr.sh