-
Notifications
You must be signed in to change notification settings - Fork 6
59 lines (35 loc) · 1.56 KB
/
validate-index.yaml
File metadata and controls
59 lines (35 loc) · 1.56 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
# SPDX-License-Identifier: LGPL-2.1-or-later
# SPDX-FileNotice: Part of the FreeCAD project.
################################################################################
name : Validate Index
################################################################################
on:
pull_request:
paths : [ 'Data/Index.json' ]
push:
paths : [ 'Data/Index.json' ]
workflow_dispatch:
################################################################################
concurrency:
cancel-in-progress : true
group : Validate-Index
################################################################################
jobs:
Validate:
runs-on : ubuntu-latest
steps:
# https://github.com/marketplace/actions/checkout
- name : Checkout Repository
uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with :
submodules : false
sparse-checkout: |
Data/Index.json
####################################################################
# https://github.com/marketplace/actions/json-schema-validate
- name : Validate Format
uses : dsanders11/json-schema-validate-action@eddf079f55830cc9a916a3c512ba9086240d2fea # v2.0.0
with :
all-errors : true
schema : 'https://raw.githubusercontent.com/FreeCAD/AddonManager/dev/AddonCatalog.schema.json'
files : 'Data/Index.json'