From 238a7ce77837f2cc5fde8d519a7850f6535638b0 Mon Sep 17 00:00:00 2001 From: Eivind Grimstad Date: Fri, 24 Jul 2026 11:20:37 +0200 Subject: [PATCH] feat: Try to use new spectral-cli-bin --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24ec326..5f4f049 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,7 @@ jobs: contents: read steps: - uses: actions/checkout@v6 - - name: Install Spectral - run: npm install -g @stoplight/spectral-cli + - uses: entur/gha-api/.github/actions/setup-spectral@setup-spectral-cli - name: Lint OpenAPI shell: bash run: | @@ -48,8 +47,7 @@ jobs: contents: read steps: - uses: actions/checkout@v6 - - name: Install Spectral - run: npm install -g @stoplight/spectral-cli + - uses: entur/gha-api/.github/actions/setup-spectral@setup-spectral-cli - name: Lint OpenAPI shell: bash run: | @@ -82,8 +80,7 @@ jobs: contents: read steps: - uses: actions/checkout@v6 - - name: Install Spectral - run: npm install -g @stoplight/spectral-cli + - uses: entur/gha-api/.github/actions/setup-spectral@setup-spectral-cli - name: Lint OpenAPI shell: bash run: |