Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
run: rustup component add llvm-tools-preview

- name: Run tests with coverage
run: cargo llvm-cov --lcov --output-path lcov.info
run: cargo llvm-cov --workspace --lcov --output-path lcov.info

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand Down
79 changes: 79 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[workspace]
members = [".", "crates/runok-linux-sandbox"]
default-members = ["."]

[package]
name = "runok"
version = "0.1.0"
Expand All @@ -18,6 +22,7 @@ shlex = "=1.3.0"
thiserror = "=2.0.18"
tree-sitter = "=0.25.10"
tree-sitter-bash = "=0.25.1"
which = "=8.0.0"

[dev-dependencies]
indoc = "=2.0.7"
Expand Down
25 changes: 25 additions & 0 deletions crates/runok-linux-sandbox/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[package]
name = "runok-linux-sandbox"
version = "0.1.0"
edition = "2024"

[dependencies]
anyhow = "=1.0.101"
clap = { version = "=4.5.58", features = ["derive"] }
landlock = "=0.4.3"
libc = "=0.2.182"
seccompiler = "=0.5.0"
serde = { version = "=1.0.228", features = ["derive"] }
serde_json = "=1.0.149"
thiserror = "=2.0.18"

[dev-dependencies]
rstest = "=0.26.1"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
disallowed_macros = "deny"
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"
Loading
Loading