Resolve the questions about "JSON Serialization" term #243
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: Checks HTML5 | |
run: bundle exec rake check_html | |
# See https://github.com/w3c/spec-prod/blob/main/docs/examples.md | |
#- name: ReSpec Checker | |
# uses: w3c/spec-prod@v1 | |
# with: | |
# VALIDATE_LINKS: true | |
# VALIDATE_MARKUP: true |