Updated linter running
OpenRA PR 20830 - "Linting revamp".
This commit is contained in:
parent
f6b0ec479b
commit
847abc979f
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get install lua5.1
|
||||
make check-scripts
|
||||
make test
|
||||
make TREAT_WARNINGS_AS_ERRORS=true test
|
||||
|
||||
linux-mono:
|
||||
name: Linux (mono)
|
||||
@ -59,7 +59,7 @@ jobs:
|
||||
- name: Check Mod
|
||||
run: |
|
||||
# check-scripts does not depend on .net/mono, so is not needed here
|
||||
make RUNTIME=mono test
|
||||
make RUNTIME=mono TREAT_WARNINGS_AS_ERRORS=true test
|
||||
|
||||
windows:
|
||||
name: Windows (.NET 6.0)
|
||||
@ -85,5 +85,6 @@ jobs:
|
||||
run: |
|
||||
choco install lua --version 5.1.5.52
|
||||
$ENV:Path = $ENV:Path + ";C:\Program Files (x86)\Lua\5.1\"
|
||||
$ENV:TREAT_WARNINGS_AS_ERRORS = "true"
|
||||
.\make.ps1 check-scripts
|
||||
.\make.ps1 test
|
||||
|
||||
2
Makefile
2
Makefile
@ -22,7 +22,7 @@
|
||||
# make [RUNTIME=net6] check
|
||||
#
|
||||
# to check your mod yaml for errors, run:
|
||||
# make [RUNTIME=net6] test
|
||||
# make [RUNTIME=net6] [TREAT_WARNINGS_AS_ERRORS=false] test
|
||||
#
|
||||
# the following are internal sdk helpers that are not intended to be run directly:
|
||||
# make check-variables
|
||||
|
||||
Loading…
Reference in New Issue
Block a user