Skip to content

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 #340

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 #340

Workflow file for this run

name: Go Quality Checks
on: push
jobs:
tests:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
-
name: Install Dependencies
run: |
go version
go install golang.org/x/lint/golint@latest
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
-
name: Test
run: |
go test -v -coverprofile=coverage.out ./...
go tool cover -func=coverage.out
-
name: CodeCov
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
-
name: Build
run: go build
-
name: Vet
run: go vet -v
-
name: Lint
run: golint ./...
-
name: gocyclo
run: gocyclo .