From 1d2ce48f69b83e65008d72105ef78920f90e8ce8 Mon Sep 17 00:00:00 2001 From: fastfist Date: Mon, 4 Mar 2024 17:17:52 -0800 Subject: [PATCH] ops: ci action to lint redoc --- .github/workflows/test-redoc.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test-redoc.yml diff --git a/.github/workflows/test-redoc.yml b/.github/workflows/test-redoc.yml new file mode 100644 index 0000000000..cd964b524c --- /dev/null +++ b/.github/workflows/test-redoc.yml @@ -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 + +