mirror of https://github.com/zeldaret/botw.git
ci: Add a PR lint workflow
This commit is contained in:
parent
31e4ddd572
commit
87cc9104de
|
@ -0,0 +1,12 @@
|
||||||
|
name: lint_pr
|
||||||
|
on: pull_request
|
||||||
|
jobs:
|
||||||
|
clang-format:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: DoozyX/clang-format-lint-action@v0.8
|
||||||
|
with:
|
||||||
|
source: 'src'
|
||||||
|
exclude: 'lib'
|
||||||
|
clangFormatVersion: 10
|
|
@ -6,4 +6,4 @@ namespace ksys::util {
|
||||||
|
|
||||||
inline void PrintDebug([[maybe_unused]] const sead::SafeString& message) {}
|
inline void PrintDebug([[maybe_unused]] const sead::SafeString& message) {}
|
||||||
|
|
||||||
}
|
} // namespace ksys::util
|
||||||
|
|
Loading…
Reference in New Issue