Skip to content

zypher workshop deets & solution #16

zypher workshop deets & solution

zypher workshop deets & solution #16

Workflow file for this run

name: Checks
on:
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache
id: cache
uses: actions/cache@v3
with:
path: ~/.cache/dprint # TODO add more paths here for various checkers
key: ${{ runner.os }}-${{ hashFiles('**/*dprint.json') }}
- name: Format Check (dprint)
uses: dprint/[email protected]
with:
config-path: .dprint.json
# FIXME .mlc.toml config not working... https://github.com/becheran/mlc/issues/78
- name: Markup Link Checker (mlc)
uses: becheran/[email protected]
with:
args: "./content/ --ignore-links '*slides.md,*slides.html,*twitter.com*,*sec.gov*,*support.giphy.com*,*bitdefender.com*,*etherscan.io*,*cryptoslate.com*,*golden.com*,'"
- name: Check for image issues (orphans and broken links)
run: ${PWD}/tools/scripts/orphan-image-scan.sh content/