CI: fix go examples #126
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: "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 }} |