mediamtx/.github/workflows/code_lint.yml
bluenviron-bot c725e319c1
Some checks failed
code_lint / golangci_lint (push) Has been cancelled
code_lint / mod_tidy (push) Has been cancelled
code_lint / api_docs (push) Has been cancelled
code_test / test_64 (push) Has been cancelled
code_test / test_32 (push) Has been cancelled
code_test / test_e2e (push) Has been cancelled
bump golangci-lint to 2.2.0 (#4671)
2025-06-29 13:02:10 +02:00

46 lines
703 B
YAML

name: code_lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
golangci_lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: "1.24"
- run: go generate ./...
- uses: golangci/golangci-lint-action@v8
with:
version: v2.2.0
mod_tidy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: "1.24"
- run: make lint-mod-tidy
api_docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make lint-apidocs