Skip to content

Update golang.org/x/exp digest to 2d47ceb #908

Update golang.org/x/exp digest to 2d47ceb

Update golang.org/x/exp digest to 2d47ceb #908

# 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"