Skip to content

Commit 3900978

Browse files
committed
add earthly cddl check
1 parent 2e71655 commit 3900978

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
VERSION 0.8
2+
3+
IMPORT github.com/input-output-hk/catalyst-ci/earthly/cddl:v3.2.27 AS cddl-ci
4+
5+
check-cddl:
6+
FROM cddl-ci+cddl-base
7+
8+
WORKDIR /cddl
9+
10+
COPY ./additional_meta.cddl ./hash.cddl ./signed_doc_meta.cddl .
11+
12+
RUN cddlc -2 hash.cddl
13+
RUN cddlc -2 additional_meta.cddl
14+
RUN cddlc -2 signed_doc_meta.cddl
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version: "1.0.0"
2+
project: name: "docs-signed-doc-cddl"

0 commit comments

Comments
 (0)