Skip to content

Commit

Permalink
ops: ci action to lint redoc
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Mar 5, 2024
1 parent cc31e84 commit 1d2ce48
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test-redoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: rust test suite

on:
push:
paths:
- 'server/**'
pull_request:
paths:
- 'server/**'
jobs:
clippy_check:
runs-on: ubuntu-latest
steps:
- 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 --bin redoc_ci > openapi.json
- "Vaccum lint"
run: vacuum lint openapi.json


0 comments on commit 1d2ce48

Please sign in to comment.