Skip to content

Commit

Permalink
Fix action cache
Browse files Browse the repository at this point in the history
  • Loading branch information
micahhausler committed Nov 8, 2024
1 parent 951831b commit a165164
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/cedar-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Restore cached crates
id: cargo-cache-restore
uses: actions/cache/restore@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{env.CEDAR_VERSION}}
- name: Install cedar-cli
run: cargo install cedar-policy-cli@${{env.CEDAR_VERSION}}
- uses: actions/cache@v4
run: cargo install cedar-policy-cli@${{env.CEDAR_VERSION}} --force
- name: Save Primes
id: cargo-cache-save
uses: actions/cache/save@v4
with:
path: |
~/.cargo/bin/
Expand Down
1 change: 0 additions & 1 deletion internal/schema/convert/openapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@ func parseCRDProperties(depth int, properties map[string]spec.Schema) (map[strin
continue
}

// klog.V(2).Infof("Skipping %s attr %s object", k, v.Type[0])
if v.Properties != nil {
attrs, err := parseCRDProperties(depth-1, v.Properties)
if err != nil {
Expand Down

0 comments on commit a165164

Please sign in to comment.