Skip to content

ci: run rustfmt with --check #36

ci: run rustfmt with --check

ci: run rustfmt with --check #36

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-check
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