Skip to content

Fix 2 bugs, remove 7 dead code blocks, add formal verification #11

Fix 2 bugs, remove 7 dead code blocks, add formal verification

Fix 2 bugs, remove 7 dead code blocks, add formal verification #11

Workflow file for this run

name: ReqProof Audit
on:
push:
branches: [main]
pull_request:
env:
PROOF_VERSION: "0.1.0-main.20260404054230"
jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.13'
- name: Cache ReqProof solvers
uses: actions/cache@v4
with:
path: ~/.proof/solvers
key: proof-solvers-${{ runner.os }}
- name: Install ReqProof
run: |
set -euo pipefail
arch="$(uname -m)"
case "$arch" in
x86_64) arch="amd64" ;;
aarch64|arm64) arch="arm64" ;;
esac
url="https://downloads.reqproof.com/releases/${PROOF_VERSION}/proof_${PROOF_VERSION}_linux_${arch}.tar.gz"
echo "Downloading $url..."
curl -fsSL "$url" | tar xz
sudo install -m 0755 proof /usr/local/bin/proof
proof version
- name: Run ReqProof Audit
run: |
set +e
proof audit --fail-level warn --format markdown | tee $GITHUB_STEP_SUMMARY
exit_code=$?
exit $exit_code