Skip to content

Upgrade to github.com/pion/dtls/v3 #889

Upgrade to github.com/pion/dtls/v3

Upgrade to github.com/pion/dtls/v3 #889

Workflow file for this run

# Run static analysis checks
name: Static Analysis
on:
pull_request:
workflow_dispatch:
jobs:
analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go 1.20+
uses: actions/setup-go@v5
with:
go-version: "^1.20" # The Go version to download (if necessary) and use.
check-latest: true
- run: go version
- name: Run go vet
run: go vet ./...
- name: Install and run gocyclo
run: |
export PATH=${PATH}:`go env GOPATH`/bin
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
gocyclo -over 15 -ignore ".pb(.gw)?.go$|_test.go$|wsproxy" . || echo "gocyclo detected too complex functions"