Skip to content

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#189) #408

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#189)

Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#189) #408

Workflow file for this run

name: ci
on:
push:
branches:
- "main"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.20'
check-latest: true
- name: Check out code into the Go module directory
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Verify go.mod is sane
run: go mod tidy && git diff --no-patch --exit-code
- name: Install dependencies
run: go mod download
- name: Build
run: make
- name: Test
run: make test