@@ -38,18 +38,10 @@ jobs:
38
38
# Step 2: Run Kani on the std library (default configuration)
39
39
- name : Run Kani Verification
40
40
run : head/scripts/run-kani.sh --path ${{github.workspace}}/head
41
-
42
- test-kani-script :
43
- name : Test Kani script
44
- runs-on : ${{ matrix.os }}
45
- strategy :
46
- matrix :
47
- os : [ubuntu-latest, macos-latest]
48
- include :
49
- - os : ubuntu-latest
50
- base : ubuntu
51
- - os : macos-latest
52
- base : macos
41
+
42
+ run-kani-list :
43
+ name : Kani List
44
+ runs-on : ubuntu-latest
53
45
steps :
54
46
# Step 1: Check out the repository
55
47
- name : Checkout Repository
@@ -58,25 +50,18 @@ jobs:
58
50
path : head
59
51
submodules : true
60
52
61
- # Step 2: Test Kani verification script with specific arguments
62
- - name : Test Kani script (Custom Args)
63
- run : head/scripts/run-kani.sh -p ${{github.workspace}}/head --kani-args --harness ptr --output-format=terse
64
-
65
- # Step 3: Test Kani verification script in the repository directory
66
- - name : Test Kani script (In Repo Directory)
67
- working-directory : ${{github.workspace}}/head
68
- run : scripts/run-kani.sh --kani-args --harness ptr::verify::check_read_u128 --harness ptr --output-format=terse
69
-
70
- # Step 4: Run list on the std library and add output to job summary
53
+ # Step 2: Run list on the std library
71
54
- name : Run Kani List
72
55
run : head/scripts/run-kani.sh --run list --path ${{github.workspace}}/head
73
-
56
+
57
+ # Step 3: Add output to job summary
74
58
- name : Add Kani List output to job summary
75
59
uses : actions/github-script@v6
76
60
with :
77
61
script : |
78
62
const fs = require('fs');
79
- const kaniOutput = fs.readFileSync('${{github.workspace}}/head/kani_list.txt ', 'utf8');
63
+ const kaniOutput = fs.readFileSync('${{github.workspace}}/head/kani-list.md ', 'utf8');
80
64
await core.summary
81
- .addRaw(kaniOutput)
82
- .write();
65
+ .addHeading('Kani List Output', 2)
66
+ .addRaw(kaniOutput, false)
67
+ .write();
0 commit comments