From 8a7b594008d3393d217af088a9117f8b6004285c Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Thu, 14 Nov 2024 08:19:51 -0800 Subject: [PATCH] senzing-factory/github-action-install-senzing-api#80 update SDK install repo (#302) --- .github/workflows/README.md | 10 +++++----- .github/workflows/go-test-darwin.yaml | 10 +++++----- .github/workflows/go-test-linux.yaml | 12 ++++++------ .github/workflows/go-test-windows.yaml | 10 +++++----- .github/workflows/golangci-lint.yaml | 6 +++--- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 17e8a25..47a17f1 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -62,7 +62,7 @@ this action runs [golangci-lint] to run multiple linters against the code. - [.golangci.yaml] - Uses: - [actions/checkout] - - [senzing-factory/github-action-install-senzing-api] + - [senzing-factory/github-action-install-senzing-sdk] - [actions/setup-go] - [golangci/golangci-lint-action] @@ -85,7 +85,7 @@ this action runs `go test` with coverage testing on macOS. - [actions/checkout] - [actions/setup-go] - [gotesttools/gotestfmt-action] - - [senzing-factory/github-action-install-senzing-api] + - [senzing-factory/github-action-install-senzing-sdk] - [actions/upload-artifact] - [senzing-factory/build-resources/.../go-coverage.yaml] @@ -100,7 +100,7 @@ this action runs `go test` with coverage testing on Linux. - [actions/checkout] - [actions/setup-go] - [gotesttools/gotestfmt-action] - - [senzing-factory/github-action-install-senzing-api] + - [senzing-factory/github-action-install-senzing-sdk] - [actions/upload-artifact] - [senzing-factory/build-resources/.../go-coverage.yaml] @@ -115,7 +115,7 @@ this action runs `go test` with coverage testing on Windows. - [actions/checkout] - [actions/setup-go] - [gotesttools/gotestfmt-action] - - [senzing-factory/github-action-install-senzing-api] + - [senzing-factory/github-action-install-senzing-sdk] - [actions/upload-artifact] - [senzing-factory/build-resources/.../go-coverage.yaml] @@ -199,7 +199,7 @@ this action moves the PR on the "Garage" project board to "Done". [senzing-factory/build-resources/.../make-go-github-file.yaml]: https://github.com/senzing-factory/build-resources/blob/main/.github/workflows/make-go-github-file.yaml [senzing-factory/build-resources/.../move-pr-to-done-dependabot.yaml]: https://github.com/senzing-factory/build-resources/blob/main/.github/workflows/move-pr-to-done-dependabot.yaml [senzing-factory/github-action-docker-buildx-build]: https://github.com/senzing-factory/github-action-docker-buildx-build -[senzing-factory/github-action-install-senzing-api]: https://github.com/senzing-factory/github-action-install-senzing-api +[senzing-factory/github-action-install-senzing-sdk]: https://github.com/senzing-factory/github-action-install-senzing-sdk [senzing-factory/github-action-make-go-tag]: https://github.com/senzing-factory/github-action-make-go-tag [super-linter]: https://github.com/super-linter/super-linter [testcoverage.yaml]: ../coverage/README.md#testcoverageyaml diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index fcbee24..935b244 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -12,13 +12,13 @@ permissions: jobs: go-test-darwin: - name: "Go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + name: "Go test with Senzing: ${{ matrix.senzingsdk-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [macos-latest] - senzingapi-version: [staging-v4] + senzingsdk-version: [staging-v4] steps: - name: Checkout repository @@ -36,10 +36,10 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} - - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v4 + - name: Install Senzing SDK + uses: senzing-factory/github-action-install-senzing-sdk@v1 with: - senzingapi-version: ${{ matrix.senzingapi-version }} + senzingsdk-version: ${{ matrix.senzingsdk-version }} - name: Run go test run: go test -exec /Users/runner/work/init-database/init-database/bin/macos_exec_dyld.sh -json -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./... 2>&1 | tee /tmp/gotest.log | gotestfmt diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index 3b938ce..d60ccaf 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -12,13 +12,13 @@ permissions: jobs: go-test-linux: - name: "Go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + name: "Go test with Senzing: ${{ matrix.senzingsdk-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [ubuntu-latest] - senzingapi-version: [staging-v4] + senzingsdk-version: [staging-v4] steps: - name: Checkout repository @@ -39,11 +39,11 @@ jobs: - name: Copy /opt/senzing/er/resources/ files run: sudo cp --verbose --recursive rootfs/* / - - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v4 + - name: Install Senzing SDK + uses: senzing-factory/github-action-install-senzing-sdk@v1 with: - packages-to-install: "senzingapi-runtime senzingapi-setup" - senzingapi-version: ${{ matrix.senzingapi-version }} + packages-to-install: "senzingsdk-runtime senzingsdk-setup" + senzingsdk-version: ${{ matrix.senzingsdk-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 8474a03..bb43d6d 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -10,13 +10,13 @@ permissions: jobs: go-test-windows: - name: "Go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + name: "Go test with Senzing: ${{ matrix.senzingsdk-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [windows-latest] - senzingapi-version: [staging-v4] + senzingsdk-version: [staging-v4] steps: - name: Checkout repository @@ -34,10 +34,10 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} - - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v4 + - name: Install Senzing SDK + uses: senzing-factory/github-action-install-senzing-sdk@v1 with: - senzingapi-version: ${{ matrix.senzingapi-version }} + senzingsdk-version: ${{ matrix.senzingsdk-version }} - name: Add to "Path" environment variable run: | diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 0d38b8c..4e739c7 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -23,10 +23,10 @@ jobs: with: fetch-depth: 0 - - name: Install Senzing API - uses: senzing-factory/github-action-install-senzing-api@v4 + - name: Install Senzing SDK + uses: senzing-factory/github-action-install-senzing-sdk@v1 with: - senzingapi-version: staging-v4 + senzingsdk-version: staging-v4 - name: Copy Senzing headers run: |