Nikky
02/26/2022, 7:37 PMPiotr KrzemiĆski
02/26/2022, 9:45 PMNikky
02/26/2022, 10:09 PMNikky
02/27/2022, 2:25 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 longNikky
02/27/2022, 2:27 PMbuild/
and check the content of the files..Nikky
02/27/2022, 6:03 PMNikky
02/27/2022, 6:04 PMwriteWorkflows(
addConsistencyCheck = true,
workflows = listOf(
workflow
),
args
)
Piotr KrzemiĆski
02/27/2022, 6:47 PM