File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,16 @@ jobs:
66
66
working-directory : ${{github.workspace}}/head
67
67
run : scripts/run-kani.sh --kani-args --harness ptr::verify::check_read_u128 --harness ptr --output-format=terse
68
68
69
- # Step 3 : Run list on the std library (assumes it creates kani_list.txt)
69
+ # Step 4 : Run list on the std library and add output to job summary
70
70
- name : Run Kani List
71
+ run : head/scripts/run-kani.sh --run list --path ${{github.workspace}}/head
72
+
73
+ - name : Add Kani List output to job summary
71
74
uses : actions/github-script@v6
72
75
with :
73
76
script : |
74
- head/scripts/run-kani.sh --run list --path ${{github.workspace}}/head;
75
77
const fs = require('fs');
76
78
const kaniOutput = fs.readFileSync('${{github.workspace}}/head/kani_list.txt', 'utf8');
77
- kaniOutput >> "$GITHUB_STEP_SUMMARY";
79
+ await core.summary
80
+ .addRaw(kaniOutput)
81
+ .write();
You can’t perform that action at this time.
0 commit comments