Nikky
02/26/2022, 7:37 PMPiotr Krzemiński
02/26/2022, 9:45 PMNikky
02/26/2022, 10:09 PM*args
into
it decides whether to write the workflows or print out the yaml of a specific workflow
the consistency check now looks like so:
run: |
diff -u '.github/workflows/some_workflow_1.yaml' \
<('.github/workflows/some_workflow.main.kts' 'Test workflow 1')
the multiple lines ONLY because detekt throws a fit otherwise..
because the line in the multiline string in the tests would be too longbuild/
and check the content of the files..writeWorkflows(
addConsistencyCheck = true,
workflows = listOf(
workflow
),
args
)
Piotr Krzemiński
02/27/2022, 6:47 PM