Skip to content

Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 in /cli #890

Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 in /cli

Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 in /cli #890

Workflow file for this run

# Go CI workflow
name: Go CI
on:
push:
paths:
- cli/**
pull_request:
branches: [ main, release/**, feature/** ]
jobs:
build:
strategy:
matrix:
go-version:
- 1.20.x
- 1.21.x
os:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Prepare environment
run: go install golang.org/x/lint/golint@latest
- name: Checkout code
uses: actions/checkout@v4
- name: Run vet & lint
working-directory: cli
run: |
go vet ./...
golint ./...
- name: Run build
working-directory: cli
run: go build -x
- name: Run tests
working-directory: cli
run: go test ./...
- name: Install GoSec
shell: bash
run: curl -sfL https://raw.githubusercontent.com/securego/gosec/v2.17.0/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.17.0
- name: Run security scan
working-directory: cli
shell: bash
run: gosec -exclude=G204,G304 ./...