Skip to content

docs: add cargo doc to CI & git hook #4028

docs: add cargo doc to CI & git hook

docs: add cargo doc to CI & git hook #4028

Workflow file for this run

name: Lint
on:
push:
branches: [$default-branch]
pull_request:
branches:
- "**"
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.15
cache: yarn
cache-dependency-path: |
yarn.lock
docs/yarn.lock
- name: Install
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: lint
run: yarn lint
- name: Check dependency versions
run: node scripts/check-dependencies.js
- name: Install website
working-directory: docs/
run: yarn
- name: Lint website
working-directory: docs/
run: yarn lint