mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-30 06:51:59 -08:00
docs: add linter (#4945)
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
Some checks are pending
code_lint / go (push) Waiting to run
code_lint / go_mod (push) Waiting to run
code_lint / docs (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_e2e (push) Waiting to run
This commit is contained in:
parent
5f61395915
commit
3a4d4e1802
4 changed files with 48 additions and 28 deletions
16
.github/workflows/code_lint.yml
vendored
16
.github/workflows/code_lint.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue