Skip to content

chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 #167

chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1

chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 #167

Workflow file for this run

name: Lint and test coverage
on:
pull_request:
branches-ignore:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: check out code
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: false
- run: go version
- name: run linter
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
test:
runs-on: ubuntu-latest
needs: lint
steps:
- name: set up golang
uses: actions/setup-go@v4
with:
go-version: '1.22'
- run: go version
- name: check out code
uses: actions/checkout@v4
- name: unit test
run: go test -shuffle on -covermode=atomic -coverprofile=profile.cov -v ./...
- name: upload coverage to codecov
uses: codecov/codecov-action@v4
with:
file: ./profile.cov
token: ${{ secrets.CODECOV }}