Skip to content

get started on modules #62

get started on modules

get started on modules #62

Workflow file for this run

# GH Action: Analyze
# Runs various code analysis tools on the codebase
name: analyze
on: [push, pull_request]
jobs:
clang-format:
if: false # Disabled until a .clang-format style guide is established
name: clang-format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Download submodules
run: git submodule update --init --recursive
- name: Run style check with clang-format
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: 'rythe'
cppcheck:
name: cppcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get cppcheck
run: DEBIAN_FRONTEND=noninteractive sudo apt-get update -yqq --allow-releaseinfo-change -o::Dpkg::Use-Pty=0 && DEBIAN_FRONTEND=noninteractive sudo apt-get install -yqq -o::Dpkg::Use-Pty=0 cppcheck
- name: cppcheck
run: cppcheck . --force --inline-suppr -ithird_party/ --xml --error-exitcode=1 2>&1 | python3 tools/cppcheck2github.py