From 188ae13d5888f3d670abed48a942ffb543d597f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 23 Jan 2026 13:14:21 +0400 Subject: [PATCH] Move linting in dedicated CI job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- .github/workflows/make.yaml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/make.yaml b/.github/workflows/make.yaml index 4d7da0cca..0e8ded135 100644 --- a/.github/workflows/make.yaml +++ b/.github/workflows/make.yaml @@ -89,6 +89,28 @@ jobs: severity-cutoff: critical output-format: table + lint: + name: "lint" + runs-on: "ubuntu-22.04" + permissions: + contents: "read" + steps: + - uses: "actions/checkout@v4" + with: + submodules: recursive + - uses: "actions/setup-go@v5" + with: + go-version: "1.25.5" + cache: true + - uses: "actions/setup-node@v6" + with: + node-version-file: ".nvmrc" + cache: "npm" + - run: "npm i -g npm@11.8.0" + - run: "npm ci" + - run: "make build" + - run: "npm run lint" + test: name: "test" runs-on: "ubuntu-22.04" @@ -118,7 +140,6 @@ jobs: coverage.out coverage.html retention-days: 30 - - run: "make lint" # Trivy ignore does not work for license scanning in Github action # - uses: "aquasecurity/trivy-action@0.33.1" # with: