Skip to content

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

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

Workflow file for this run

---
name: Tests
on:
push:
tags-ignore:
- '**'
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.x
- name: Setup Go build cache
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build ./...
- name: Test
run: |
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
make test
- name: Upload Code Coverage Profile
uses: codecov/codecov-action@v3
with:
files: unit.coverprofile
flags: unittests
fail_ci_if_error: true
verbose: false