Skip to content

CI: fix go examples #126

CI: fix go examples

CI: fix go examples #126

Workflow file for this run

name: "c-cpp-lint"
on:
push:
branches: "main"
pull_request:
branches: "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: DoozyX/clang-format-lint-action@v0.14
with:
source: 'examples wasm-sdk runtime/cpp/include runtime/cpp/test runtime/cpp/src'
extensions: 'h,cpp,c,hpp,cxx,hxx'
clangFormatVersion: 14
inplace: True
- uses: EndBug/add-and-commit@v4
with:
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}