Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/lean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lean Verification

on:
pull_request:
paths:
- 'tzimtzum/**'

jobs:
lean-verify:
name: Verify TzimtzumV2
runs-on: ubuntu-latest
defaults:
run:
working-directory: tzimtzum
steps:
- uses: actions/checkout@v4

- uses: jdx/mise-action@v2

- name: Build and verify
run: make build
28 changes: 28 additions & 0 deletions .github/workflows/rocq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Rocq Proofs

on:
pull_request:
paths:
- 'argus/formal/**'

jobs:
rocq-proofs:
name: Verify Formal Proofs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: coq-community/docker-coq-action@v1
with:
custom_image: 'rocq/rocq-prover:9.0'
before_script: |
startGroup "Fix permissions"
sudo chown -R 1000:1000 .
endGroup
script: |
startGroup "Build proofs"
cd argus/formal
coq_makefile -f _CoqProject -o Makefile.coq
make -f Makefile.coq -j2
endGroup
uninstall: ''
38 changes: 38 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Rust CI

on:
pull_request:

jobs:
rust-ci:
name: Build, Lint & Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: argus
steps:
- uses: actions/checkout@v4

- uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: jdx/mise-action@v2

- name: Install Rust components
run: rustup component add rustfmt clippy

- name: Check formatting
run: cargo fmt --check

- name: Clippy
run: cargo clippy --workspace -- -D warnings

- name: Run tests
run: cargo test --workspace

- name: Install cargo-audit
run: cargo install cargo-audit --locked

- name: Security audit
run: cargo audit
Loading