golanggohlsrtmpwebrtcmedia-serverobs-studiortcprtmp-proxyrtmp-serverrtprtsprtsp-proxyrtsp-relayrtsp-serversrtstreamingwebrtc-proxy
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.
44 lines
671 B
44 lines
671 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" |
|
|
|
- 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
|
|
|