Move linting in dedicated CI job

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-23 13:14:21 +04:00
parent 6ab5ccc59f
commit 188ae13d58

View File

@@ -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: