Skip to content

Upgrade: Bump github.com/spf13/cobra from 1.3.0 to 1.7.0 #115

Upgrade: Bump github.com/spf13/cobra from 1.3.0 to 1.7.0

Upgrade: Bump github.com/spf13/cobra from 1.3.0 to 1.7.0 #115

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
- '!draft**'
pull_request:
types: [ opened, reopened ]
jobs:
tests:
strategy:
matrix:
go-version: [ 1.17.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Install Dependencies
run: go mod download
- name: Test
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic -gcflags=-l
# Generate a Codecov report
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
flags: unittests
name: crcgen [${{ matrix.go-version }}]
fail_ci_if_error: true
path_to_write_report: ./coverage/codecov_report.gz
verbose: true