Skip to content

Commit

Permalink
Fix rust hello world and example use cases CI
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Wells <andrewmw94@gmail.com>
  • Loading branch information
andrewmw94 committed Jun 6, 2024
1 parent 5c2af8d commit 16fcc2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
uses: ./.github/workflows/run_example_use_cases_reusable.yml
with:
cedar_policy_ref: "refs/heads/main" # use the latest commit on main
cedar_examples_ref: "${{ github.head_ref }}" # use the current PR's commit
cedar_examples_ref: "${{ github.href }}" # use the current PR's commit

build_rust_hello_world:
name: rust_hello_world
needs: get-branch-name
uses: ./.github/workflows/build_rust_hello_world_reusable.yml
with:
cedar_policy_ref: "refs/heads/main" # use the latest commit on main
cedar_examples_ref: "${{ github.head_ref }}" # use the current PR's commit
cedar_examples_ref: "${{ github.href }}" # use the current PR's commit

build_tiny_todo:
name: tinytodo
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/run_example_use_cases_reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ jobs:
with:
repository: cedar-policy/cedar-examples
ref: ${{ inputs.cedar_examples_ref }}
- name: Checkout cedar-policy
uses: actions/checkout@v3
with:
repository: cedar-policy/cedar
ref: ${{ inputs.cedar_policy_ref }}
path: ./cedar
- name: rustup
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: build cli
Expand Down

0 comments on commit 16fcc2d

Please sign in to comment.