From 3b95a767b8b8060ddf5fdea5ae4093c5437fc3d2 Mon Sep 17 00:00:00 2001 From: Eivind Grimstad Date: Wed, 5 Aug 2026 10:22:00 +0200 Subject: [PATCH] chore(ETU-74919): Use setup-spectral to resolve spectral-cli --- .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..bd0d8f7 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@v6 - 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@v6 - 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@v6 - name: Lint OpenAPI shell: bash run: |