Skip to content

Commit

Permalink
Merge pull request fluffy-servers#7 from fluffy-servers/style
Browse files Browse the repository at this point in the history
Style enforcement
  • Loading branch information
rafraser authored Dec 28, 2020
2 parents 60756aa + b11e67e commit 975373b
Show file tree
Hide file tree
Showing 6 changed files with 305 additions and 242 deletions.
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
BasedOnStyle: LLVM
IndentWidth: 4
20 changes: 20 additions & 0 deletions .github/workflows/clangformat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Clang Format

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
lua_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: "./cpp"
exclude: "./cpp/discord-rpc ./cpp/gmod-module-base"
extensions: "h,cpp"
19 changes: 19 additions & 0 deletions .github/workflows/glualint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: GLua Lint

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
lua_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: TASSIA710/action-glua-lint@master
with:
failOnWarning: true
directory: /lua/
Loading

0 comments on commit 975373b

Please sign in to comment.