-
Notifications
You must be signed in to change notification settings - Fork 12
46 lines (41 loc) · 1.21 KB
/
duvet.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This workflow verifies
# that the source is annotated
# with respect to the specification
name: Duvet report
on:
pull_request:
push:
branches:
- main
jobs:
duvet:
runs-on: ubuntu-latest
# This environment stores a token
# that can be used to checkout
# the ESDK specification
environment: "Duvet CI"
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install duvet
shell: bash
run: |
cargo +stable install duvet
# //= aws-encryption-sdk-specification/framework/structures.md#overview
# //= type=implication
# //# These structures define a group of related fields that MUST hold certain properties.
# //# Wherever these structures are referenced in this specification,
# //# implementations MUST ensure that all properties of a structure's fields are upheld.
- name: Run the duvet report
shell: bash
run: |
make duvet
- uses: actions/upload-artifact@v4
if: always()
with:
name: specification_compliance_report
path: specification_compliance_report.html