-
Notifications
You must be signed in to change notification settings - Fork 447
47 lines (41 loc) · 1.21 KB
/
reqproof.yml
File metadata and controls
47 lines (41 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: ReqProof Audit
on:
push:
branches: [main]
pull_request:
jobs:
audit:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Go 1.25+ required for code-level MC/DC instrumentation.
# jsonparser library itself supports Go 1.13+ but the verification
# tooling needs modern Go for source-to-source rewriting.
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Cache ReqProof solvers
uses: actions/cache@v4
with:
path: ~/.proof/solvers
key: proof-solvers-${{ runner.os }}
- name: Cache ReqProof index
uses: actions/cache@v4
with:
path: |
.proof/index.db
.proof/index.db-shm
.proof/index.db-wal
key: proof-index-${{ runner.os }}-${{ hashFiles('specs/**/*.req.yaml') }}
restore-keys: |
proof-index-${{ runner.os }}-
- name: Install Z3 solver
run: sudo apt-get update -qq && sudo apt-get install -y -qq z3
- uses: probelabs/proof-action@v1
with:
fail-level: warn
scope: full
format: markdown