mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-28 05:51:59 -08:00
automatically inform authors of GitHub issues about new releases (#2685)
This commit is contained in:
parent
83a3086de7
commit
4cf8948fe6
6 changed files with 54 additions and 17 deletions
44
.github/workflows/code_lint.yml
vendored
Normal file
44
.github/workflows/code_lint.yml
vendored
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
name: code_lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
golangci_lint:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: "1.19"
|
||||
|
||||
- uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.55.0
|
||||
|
||||
mod_tidy:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "1.21"
|
||||
|
||||
- run: |
|
||||
go mod tidy
|
||||
git diff --exit-code
|
||||
|
||||
api_docs:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- run: make apidocs-lint
|
||||
Loading…
Add table
Add a link
Reference in a new issue