Skip to content

Commit 39c6d57

Browse files
committed
Merge branch 'main' into activate-element-intent
2 parents 2465ea9 + 7cb6e57 commit 39c6d57

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed

.github/workflows/auto-publish.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ on:
66
jobs:
77
main:
88
name: Build, Validate and Deploy
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- uses: w3c/spec-prod@v2
1313
with:
1414
GH_PAGES_BRANCH: gh-pages
1515
# equivalent to the Bikeshed CLI argument, `--die-on=link-error`
1616
BUILD_FAIL_ON: link-error
1717
check-cddl-consistency:
1818
name: Verify that the generated CDDL files are in sync with the inline CDDL
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-22.04
2020
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/setup-node@v1
21+
- uses: actions/checkout@v4
22+
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 18.x
2525
- name: Extract CDDL
@@ -28,9 +28,9 @@ jobs:
2828
run: git diff --exit-code
2929
check-cddl-validity:
3030
name: Verify that the generated CDDL files are valid
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-22.04
3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v4
3434
- name: Get cddl version
3535
run: curl -s https://crates.io/api/v1/crates/cddl | python3 -c "import sys, json; print(json.load(sys.stdin)['crate']['max_stable_version'])" | tee cddl.txt
3636
- name: "Cache rust binaries"
@@ -53,10 +53,10 @@ jobs:
5353
run: ./scripts/test-cddl.sh
5454
check-json-schema-validity:
5555
name: Verify that the JSON schema files are valid
56-
runs-on: ubuntu-20.04
56+
runs-on: ubuntu-22.04
5757
steps:
58-
- uses: actions/checkout@v2
59-
- uses: actions/setup-node@v3
58+
- uses: actions/checkout@v4
59+
- uses: actions/setup-node@v4
6060
with:
6161
node-version: 18
6262
- run: npm ci

index.bs

+8-8
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,6 @@ This section gives the initial contents of the remote end definition and local e
127127
[=Remote end definition=]
128128

129129
<xmp class="cddl remote-cddl">
130-
Extensible = {
131-
*text => any
132-
}
133-
134130
Command = {
135131
id: uint,
136132
CommandData,
@@ -149,10 +145,6 @@ EmptyParams = { Extensible }
149145
[=Local end definition=]:
150146

151147
<xmp class="cddl local-cddl">
152-
Extensible = {
153-
*text => any
154-
}
155-
156148
Message = (
157149
CommandResponse //
158150
ErrorResponse //
@@ -191,6 +183,14 @@ EventData = (
191183
)
192184
</xmp>
193185

186+
[=Remote end definition=] and [=local end definition=]:
187+
188+
<xmp class="cddl remote-cddl local-cddl">
189+
Extensible = {
190+
*text => any
191+
}
192+
</xmp>
193+
194194
Capabilities {#protocol-capabilities}
195195
-------------------------------------
196196

schemas/at-driver-local.cddl

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Extensible = {
2-
*text => any
3-
}
4-
51
Message = (
62
CommandResponse //
73
ErrorResponse //
@@ -39,6 +35,10 @@ EventData = (
3935
InteractionEvent
4036
)
4137

38+
Extensible = {
39+
*text => any
40+
}
41+
4242
SessionResult = (SessionNewResult)
4343

4444
CapabilitiesRequest = {

schemas/at-driver-remote.cddl

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Extensible = {
2-
*text => any
3-
}
4-
51
Command = {
62
id: uint,
73
CommandData,
@@ -16,6 +12,10 @@ CommandData = (
1612

1713
EmptyParams = { Extensible }
1814

15+
Extensible = {
16+
*text => any
17+
}
18+
1919
SessionCommand = (SessionNewCommand)
2020

2121
CapabilitiesRequest = {

0 commit comments

Comments
 (0)