Skip to content

Bump github.com/spf13/viper from 1.12.0 to 1.21.0 #291

Bump github.com/spf13/viper from 1.12.0 to 1.21.0

Bump github.com/spf13/viper from 1.12.0 to 1.21.0 #291

Workflow file for this run

name: Tests
on:
push:
paths:
- "*/**.go"
pull_request: {}
permissions:
contents: read
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.25.9
- name: Check out code
uses: actions/checkout@v6
- name: Restore Go modules cache
uses: actions/cache@v5
with:
path: |
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test -race ./cmd/hub/...
- name: Build
run: go build -v ./cmd/hub