mediamtx/.github/workflows/code_lint.yml
Alessandro Ros 576a117c7c
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_highlevel (push) Has been cancelled
bump Golang to 1.23 (#3702)
2024-11-04 14:02:05 +01:00

46 lines
704 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.23"
- run: go generate ./...
- uses: golangci/golangci-lint-action@v4
with:
version: v1.61.0
mod_tidy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: "1.23"
- run: make lint-mod-tidy
api_docs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: make lint-apidocs