This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Merge branch 'feature/WWM-110' into develop #66
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: Build | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
cpp_version_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: C++ version check | |
run: | | |
git submodule update --init | |
docker build -t cpp-version-check . | |
docker run --rm -v "$(pwd):/app" cpp-version-check | |
formatting-check: | |
name: Formatting Check | |
needs: cpp_version_check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run clang-format style check for C/C++/Protobuf programs. | |
uses: jidicula/clang-format-action@v4.11.0 | |
with: | |
clang-format-version: "16" | |
check-path: "." | |
fallback-style: "Google" # optional | |
commitlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run commitlint | |
continue-on-error: true | |
uses: wagoid/commitlint-github-action@v5 |