Skip to content

Commit

Permalink
try try
Browse files Browse the repository at this point in the history
  • Loading branch information
shaobo-he-aws committed Apr 27, 2023
1 parent 306d89d commit 445c1ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ jobs:
run: cargo fmt --all --check
- name: cargo rustc
working-directory: ./cedar-rust-hello-world
run: cargo --verbose rustc -- -D warnings -F unsafe-code
run: |
cat Cargo.toml
echo "\npath = \"../../cedar/cedar-policy\"" >> Cargo.toml
cargo --verbose rustc -- -D warnings -F unsafe-code
- name: cargo test
working-directory: ./cedar-rust-hello-world
run: cargo test --verbose
run: |
cat Cargo.toml
echo "\npath = \"../../cedar/cedar-policy\"" >> Cargo.toml
cargo test --verbose
build_and_test_github_model_app:
name: Rust project - latest
Expand Down Expand Up @@ -64,4 +70,4 @@ jobs:
run: cargo --verbose rustc -- -D warnings -F unsafe-code
- name: cargo test
working-directory: ./cedar-github-model-app
run: cargo test --verbose
run: cargo test --verbose
4 changes: 3 additions & 1 deletion cedar-rust-hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ version = "2.0.0"
publish = false

[dependencies]
cedar-policy = "2.0.0"
serde_json = "1.0"

[dependencies.cedar-policy]
version = "2.0.0"

0 comments on commit 445c1ab

Please sign in to comment.