-
Notifications
You must be signed in to change notification settings - Fork 32
43 lines (38 loc) · 1.1 KB
/
ci.yml
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
# This workflow validates the document for markup and examples.
name: CI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ main ]
jobs:
tests:
name: Build and Validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: bundle install
- name: "Verify common files are consistent"
run: |
git remote add -f b https://github.com/w3c/json-ld-wg.git
git remote update
git diff --exit-code remotes/b/main -- common
- name: Verify examples are consistent
run: bundle exec rake test
- name: Echidna Auto-publish WD
uses: w3c/spec-prod@v2
with:
TOOLCHAIN: respec
SOURCE: index.html
VALIDATE_LINKS: false
VALIDATE_MARKUP: true
W3C_ECHIDNA_TOKEN: ${{ secrets.ECHIDNA_TOKEN }}
#W3C_WG_DECISION_URL: https://www.w3.org/2023/04/20-rdf-star-minutes.html#r03
W3C_BUILD_OVERRIDE: |
specStatus: WD
shortName: json-ld11-concepts