Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

chore(deps): update module github.com/spf13/viper to v1.20.1 #11

chore(deps): update module github.com/spf13/viper to v1.20.1

chore(deps): update module github.com/spf13/viper to v1.20.1 #11

Workflow file for this run

name: Go Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
GOPROXY: "https://proxy.golang.org"
jobs:
test:
name: "go test"
strategy:
matrix:
go-version: [ 1.23.x, 1.24.x ]
platform: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/go.sum"
- run: go version
- name: Run tests
run: make test-coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage.txt
verbose: true