diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index 10a4f66..6b5c6e4 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -3,6 +3,7 @@ name: Go test darwin on: [pull_request, workflow_dispatch] env: + CGO_LDFLAGS: "-Wl,-no_warn_duplicate_libraries" DYLD_LIBRARY_PATH: /opt/senzing/er/lib:/opt/senzing/er/lib/macos LD_LIBRARY_PATH: /opt/senzing/er/lib:/opt/senzing/er/lib/macos SENZING_TOOLS_DATABASE_URL: sqlite3://na:na@nowhere/tmp/sqlite/G2C.db @@ -18,7 +19,7 @@ jobs: strategy: matrix: go: ["1.21"] - os: [macos-13] + os: [macos-latest] senzingapi-version: [staging-v4] steps: diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index 551ff40..715016d 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -41,7 +41,9 @@ jobs: senzingapi-version: ${{ matrix.senzingapi-version }} - name: Add to "Path" environment variable - run: printf "C:\Program Files\Senzing\er\lib" | Out-File -FilePath "$env:GITHUB_PATH" -Encoding utf8 -Append + run: | + # shellcheck disable=SC2028 + echo "C:\Program Files\Senzing\er\lib" >> "$env:GITHUB_PATH" - name: Copy /etc files run: copy testdata/senzing-license/g2.lic "C:\Program Files\Senzing\er\etc\g2.lic"