From dddd14089653a6e0f8ab24d1a1ca83ce669d0c51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 13:34:06 -0400 Subject: [PATCH] Bump senzing-factory/github-action-install-senzing-api from 3 to 4 (#289) * Bump senzing-factory/github-action-install-senzing-api from 3 to 4 Bumps [senzing-factory/github-action-install-senzing-api](https://github.com/senzing-factory/github-action-install-senzing-api) from 3 to 4. - [Release notes](https://github.com/senzing-factory/github-action-install-senzing-api/releases) - [Changelog](https://github.com/senzing-factory/github-action-install-senzing-api/blob/main/CHANGELOG.md) - [Commits](https://github.com/senzing-factory/github-action-install-senzing-api/compare/v3...v4) --- updated-dependencies: - dependency-name: senzing-factory/github-action-install-senzing-api dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * update input var * Force re-test --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sam <109683132+kernelsam@users.noreply.github.com> Co-authored-by: docktermj --- .github/workflows/go-test-darwin.yaml | 4 ++-- .github/workflows/go-test-linux.yaml | 12 +++--------- .github/workflows/go-test-windows.yaml | 6 ++++-- .github/workflows/golangci-lint.yaml | 4 ++-- 4 files changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index e80d25e..fcbee24 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: go: ["1.21"] - os: [macos-13] + os: [macos-latest] senzingapi-version: [staging-v4] steps: @@ -37,7 +37,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v3 + uses: senzing-factory/github-action-install-senzing-api@v4 with: senzingapi-version: ${{ matrix.senzingapi-version }} diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index 2ad4ad7..3b938ce 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -40,16 +40,10 @@ jobs: run: sudo cp --verbose --recursive rootfs/* / - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v3 + uses: senzing-factory/github-action-install-senzing-api@v4 with: - senzingapi-runtime-version: ${{ matrix.senzingapi-version }} - - - name: install senzingapi-setup - run: | - sudo SENZING_ACCEPT_EULA=I_ACCEPT_THE_SENZING_EULA apt-get -y install senzingapi-setup - sudo apt list | grep senzing - owner="$(whoami)" - sudo chown -R "${owner}":"${owner}" /opt/senzing + packages-to-install: "senzingapi-runtime senzingapi-setup" + senzingapi-version: ${{ matrix.senzingapi-version }} - name: Run go test run: go test -json -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./... 2>&1 | tee /tmp/gotest.log | gotestfmt diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index edc2b69..8474a03 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -35,12 +35,14 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v3 + uses: senzing-factory/github-action-install-senzing-api@v4 with: 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: Create empty database file run: | diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 444b398..7caf1dc 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -24,9 +24,9 @@ jobs: fetch-depth: 0 - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v3 + uses: senzing-factory/github-action-install-senzing-api@v4 with: - senzingapi-runtime-version: staging-v4 + senzingapi-version: staging-v4 - name: Copy Senzing headers run: |