Skip to content

Bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#54) #126

Bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#54)

Bump github.com/spf13/viper from 1.18.2 to 1.19.0 (#54) #126

Workflow file for this run

name: go test linux
on: [push]
env:
LD_LIBRARY_PATH: /opt/senzing/g2/lib
SENZING_TOOLS_DATABASE_URL: "sqlite3://na:na@/tmp/sqlite/G2C.db"
permissions:
contents: read
jobs:
go-test-linux:
name: "go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
go: ["1.21"]
os: [ubuntu-latest]
senzingapi-version: [staging-v4]
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: install Senzing API
uses: Senzing/github-action-install-senzing-api@v3
with:
senzingapi-runtime-version: ${{ matrix.senzingapi-version }}
- name: copy /etc files
run: sudo cp testdata/senzing-license/g2.lic /etc/opt/senzing/g2.lic
- name: copy test database files
run: mkdir /tmp/sqlite && cp testdata/sqlite/G2C.db /tmp/sqlite/G2C.db
- name: run go test
run: go test -v -p 1 ./...