[items] Refactor state factory methods into shared helpers to reduce code duplication #8
Workflow file for this run
This file contains hidden or 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
name: Check Markdown For Errors | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
markdownlint: | |
name: markdownlint | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# pinning to SHA to mitigate possible supply chain attack | |
- name: Run markdownlint-cli | |
uses: nosborn/github-action-markdown-cli@58bcfd1af530d87a13d51b76e6713b52602e3613 # v3.4.0 | |
with: | |
files: . | |
config_file: ".markdownlint.yaml" | |
markdown-link-check: | |
name: Broken Links Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# pinning to SHA to mitigate possible supply chain attack | |
- name: Check for broken links | |
uses: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba # v1.1.0 | |
with: | |
use-quiet-mode: 'yes' # only show errors in output | |
use-verbose-mode: 'yes' # show detailed HTTP status for checked links | |
config-file: 'mlc_config.json' |