Skip to content

docs: fix docs and add CI job for checking docs #31

docs: fix docs and add CI job for checking docs

docs: fix docs and add CI job for checking docs #31

Workflow file for this run

name: CS2KZ API CI
on:
push:
branches: ['master']
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
lint:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
with:
components: clippy
- run: make lint
format:
name: RustFmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
with:
channel: nightly
components: rustfmt
- run: make format
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
- run: make docs
spech-check:
name: OpenAPI Spec Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v1
- run: make spec-check