Skip to content
Closed
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
31 changes: 15 additions & 16 deletions .github/workflows/run_example_use_cases_reusable.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: Run example use cases
on:
workflow_call:
inputs:
cedar_policy_ref:
required: true
type: string
cedar_examples_ref:
required: true
type: string

workflow_call:
inputs:
cedar_policy_ref:
required: true
type: string
cedar_examples_ref:
required: true
type: string
jobs:
run_example_use_cases:
name: Run example use cases
Expand All @@ -30,7 +29,7 @@ jobs:
ref: ${{ inputs.cedar_policy_ref }}
path: ./cedar
- name: protoc
run: sudo apt-get install protobuf-compiler
run: sudo apt-get update && sudo apt-get install protobuf-compiler
- name: rustup
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build cli
Expand All @@ -39,12 +38,12 @@ jobs:
- name: Run validation and authorization
working-directory: ./cedar-example-use-cases
run: |
export PATH="$PWD/../cedar/target/debug/":$PATH
echo $PATH
./run.sh
export PATH="$PWD/../cedar/target/debug/":$PATH
echo $PATH
./run.sh
- name: Run validation and authorization for cedar-policy-language-in-action
working-directory: ./cedar-policy-language-in-action
run: |
export PATH="$PWD/../cedar/target/debug/":$PATH
echo $PATH
./run.sh
export PATH="$PWD/../cedar/target/debug/":$PATH
echo $PATH
./run.sh
Loading