Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
721 B

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"
- run: touch internal/servers/hls/hls.min.js
- 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