Skip to content

ops: ci action to lint redoc #3

ops: ci action to lint redoc

ops: ci action to lint redoc #3

Workflow file for this run

name: lint openapi spec
on:
push:
paths:
- 'server/**'
pull_request:
paths:
- 'server/**'
jobs:
redoc:
runs-on: ubuntu-latest
steps:

Check failure on line 13 in .github/workflows/test-redoc.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-redoc.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- uses: actions/checkout@v1
- name: "Installing Vaccum"
run: curl -fsSL https://quobix.com/scripts/install_vacuum.sh | sh
- name: "Generating OpenAPI spec"
run: cargo run --manifest-path server/Cargo.toml --bin redoc_ci > openapi.json
- "Vaccum lint"
run: vacuum lint openapi.json