bhartsfield
06/12/2023, 2:01 PMon: [push]
jobs:
build:
name: CFML Format and lint checks
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Linter/Format Checks
uses: Ortus-Solutions/commandbox-action@v1.0.3
with:
cmd: cd /github/workspace/app && run-script format:check && run-script linter
bhartsfield
06/12/2023, 2:02 PM"format:check":"cfformat check handlers,includes,interceptors,models,tests/**.cfc,ModuleConfig.cfc",
bhartsfield
06/12/2023, 2:02 PMbhartsfield
06/12/2023, 2:09 PMbdw429s
06/12/2023, 3:24 PMbdw429s
06/12/2023, 3:25 PMbdw429s
06/12/2023, 3:25 PMbhartsfield
06/12/2023, 3:26 PM--overwrite
flag.
ERROR (5.8.0+00695)
Package script returned failing exit code (1)
Failing script: format:checkbhartsfield
06/12/2023, 3:27 PMbhartsfield
06/12/2023, 3:27 PMbhartsfield
06/12/2023, 3:37 PM"loadPaths" : [
"#expandPath( ".\modules_app\fileService\lib" )#",
"#expandPath( ".\modules_app\parsingService\lib" )#"
],
The GH action cfformat check doesn't like the spacing after "LoadPaths" (and it shouldn't really...) and locally it doesn't complain about it.
Trying to figure out the cfformat versions now.bhartsfield
06/12/2023, 3:39 PMthis["javaSettings"] = {
"loadPaths" : [
"#expandPath( ".\modules_app\fileService\lib" )#",
"#expandPath( ".\modules_app\parsingService\lib" )#"
],
"loadCFMLClassPath": true,
"reloadOnChange" : true,
"watchInterval" : 100,
"watchExtensions" : "jar,class"
};
bhartsfield
06/12/2023, 3:54 PMbhartsfield
06/12/2023, 4:07 PMbhartsfield
06/12/2023, 4:22 PMbdw429s
06/12/2023, 4:37 PMbdw429s
06/12/2023, 4:38 PMbdw429s
06/12/2023, 4:38 PMbhartsfield
06/12/2023, 4:39 PMbhartsfield
06/12/2023, 4:39 PM