Skip to content

build(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 #187

build(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1

build(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 #187

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: '>=1.17'
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Format
run: go fmt ./...
- name: Build
run: ./bin/build
- name: Test
run: |
export GOPATH=$(go env GOPATH)/bin
./bin/test