docs: add linter (#4945)

This commit is contained in:
Alessandro Ros
2025-09-06 22:51:45 +02:00
committed by GitHub
parent 5f61395915
commit 3a4d4e1802
4 changed files with 48 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ on:
branches: [ main ]
jobs:
golangci_lint:
go:
runs-on: ubuntu-22.04
steps:
@@ -25,7 +25,7 @@ jobs:
with:
version: v2.4.0
mod_tidy:
go_mod:
runs-on: ubuntu-22.04
steps:
@@ -35,7 +35,15 @@ jobs:
with:
go-version: "1.24"
- run: make lint-mod-tidy
- run: make lint-go-mod
docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- run: make lint-docs
api_docs:
runs-on: ubuntu-22.04
@@ -43,4 +51,4 @@ jobs:
steps:
- uses: actions/checkout@v5
- run: make lint-apidocs
- run: make lint-api-docs