mediamtx/.github/workflows/code_lint.yml
dependabot[bot] 6ffa058e26
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (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
build(deps): bump actions/checkout from 4 to 5 (#4857)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 11:20:23 +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@v5
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "1.24"
- run: go generate ./...
- uses: golangci/golangci-lint-action@v8
with:
version: v2.3.1
mod_tidy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version: "1.24"
- run: make lint-mod-tidy
api_docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- run: make lint-apidocs