forked from KAT-Advanced-Medical/KAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflows for validate and lint (KAT-Advanced-Medical#266)
* workflows
- Loading branch information
1 parent
58c1389
commit ed654a0
Showing
24 changed files
with
1,683 additions
and
1,457 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
* text=auto | ||
*.png binary | ||
*.jpg binary | ||
*.paa binary | ||
|
||
# Change GitHub language categorization | ||
addons/**/*.cpp linguist-language=SQF | ||
addons/**/*.hpp linguist-language=SQF | ||
|
||
optionals/**/*.cpp linguist-language=SQF | ||
optionals/**/*.hpp linguist-language=SQF | ||
|
||
# Do not count hemtt includes in language usage stats | ||
include/* linguist-vendored |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Arma | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@master | ||
- name: Validate SQF | ||
run: python3 tools/sqf_validator.py | ||
- name: Validate Config | ||
run: python3 tools/config_style_checker.py | ||
- name: Validate Stringtables | ||
run: python3 tools/stringtable_validator.py | ||
- name: Check Strings | ||
run: python3 tools/check_strings.py | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@master | ||
- name: Lint (sqflint) | ||
uses: arma-actions/sqflint@master | ||
continue-on-error: true # No failure due to many false-positives |
Oops, something went wrong.