Skip to content

Commit 9c755cb

Browse files
authored
run TinyTodo Go example in CI (#188)
1 parent 230f291 commit 9c755cb

File tree

4 files changed

+6
-56
lines changed

4 files changed

+6
-56
lines changed

.github/workflows/build_tiny_todo_go_reusable.yml

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Build and test TinyTodo-Go
22
on:
33
workflow_call:
44
inputs:
5-
cedar_policy_ref:
6-
required: true
7-
type: string
85
cedar_examples_ref:
96
required: true
107
type: string

.github/workflows/build_tiny_todo_reusable_go.yml

-52
This file was deleted.

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
cedar_policy_ref: refs/heads/${{ needs.get-branch-name.outputs.branch_name }}
5555
cedar_examples_ref: ${{ github.href }}
5656

57+
tinytodo-go:
58+
uses: ./.github/workflows/build_tiny_todo_go_reusable.yml
59+
with:
60+
cedar_examples_ref: ${{ github.href }}
61+
5762
build_and_run_oopsla_benchmarks:
5863
name: OOPSLA2024 benchmarks
5964
runs-on: ubuntu-latest

tinytodo-go/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/cedar-policy/cedar-examples/tinytodo-go
33
go 1.22
44

55
require (
6-
github.com/cedar-policy/cedar-go v0.0.0-20240715162045-a71e93ee6ae7
6+
github.com/cedar-policy/cedar-go v0.0.0-20240715162045-a71e93ee6ae7 // pins the cedar-go commit
77
github.com/go-chi/chi/v5 v5.1.0
88
github.com/stretchr/testify v1.9.0
99
)

0 commit comments

Comments
 (0)