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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ jobs:
run: rustup component add rustfmt clippy
- name: just ci
run: just ci
- name: just selftest
# The selftest pulls from Docker Hub which may rate-limit shared
# GitHub runner IPs. Don't let transient registry failures block CI.
continue-on-error: true
run: just selftest
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ canon-json = "0.2.0"
[dev-dependencies]
anyhow = "1.0.89"
cap-tempfile = "4.0"
clap = { version = "4", features = ["derive"] }
oci-distribution = "0.11"
reqwest = { version = "0.12", features = ["json"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }

[features]
zstd = ["dep:zstd"]
Expand Down
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ lint: fmt-check clippy
semver-check:
cargo semver-checks

# Run the selftest (pulls busybox, creates artifacts, verifies referrers)
selftest:
cargo run --example ocidir -- selftest

# Lint and test (used by CI, and for local development)
ci: lint test
Loading
Loading