Skip to content

Create minimal Entity SDK specification #15434

Create minimal Entity SDK specification

Create minimal Entity SDK specification #15434

Workflow file for this run

name: Checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
permissions:
contents: read
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: install dependencies
run: npm install
- name: run markdownlint
run: make markdownlint
yamllint:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
- name: install yamllint
run: make install-yamllint
- name: run yamllint
run: yamllint . -f github
markdown-link-check:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: install dependencies
run: npm install
- name: run markdown-link-check
run: make markdown-link-check
env:
# see https://lychee.cli.rs/troubleshooting/rate-limits/#github-rate-limiting
GITHUB_TOKEN: ${{ github.token }}
markdown-toc-check:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: install dependencies
run: npm install
- name: run markdown-toc
run: make markdown-toc-check
compliance-matrix-check:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: run compliance-matrix
run: make compliance-matrix
- name: validate compliance-matrix
run: git diff --exit-code spec-compliance-matrix.md || (echo 'Generated compliance matrix is out of date, please run "make compliance-matrix" and commit the changes in this PR.' && exit 1)
misspell:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: streetsidesoftware/cspell-action@de2a73e963e7443969755b648a1008f77033c5b2 # v8.4.0
with:
incremental_files_only: false # check all files, not just changed files
config: .cspell.yaml
suggestions: true
treat_flagged_words_as_errors: true
textlint:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: install dependencies
run: npm install
- name: run textlint
run: make textlint format=github