Skip to content

Bump github.com/spf13/viper from 1.17.0 to 1.18.1 #8

Bump github.com/spf13/viper from 1.17.0 to 1.18.1

Bump github.com/spf13/viper from 1.17.0 to 1.18.1 #8

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.20', '1.21']
steps:
- name: Cache go deps
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashfiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
env:
GOFLAGS: -mod=mod
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -cover ./...