From 19926b7b19fadfb61f9d6c1ef13ad10bfdc50f43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 06:42:32 +0000 Subject: [PATCH 1/4] build(deps): bump actions/setup-go from 4 to 5 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/feature-branches.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/feature-branches.yaml b/.github/workflows/feature-branches.yaml index 47374aa..2549717 100644 --- a/.github/workflows/feature-branches.yaml +++ b/.github/workflows/feature-branches.yaml @@ -12,7 +12,7 @@ jobs: - name: Checkout source codes uses: actions/checkout@v4 - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Test client with nexus3 instance From b2d9bd466f33e9db63b574c05818484bfce8ce5b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 18:03:19 +0000 Subject: [PATCH 2/4] build(deps): bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4fce5c1..7712006 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,12 +27,12 @@ jobs: uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From ed528dc6e92080e84b40aa99ebd4ba7bc6680947 Mon Sep 17 00:00:00 2001 From: Andre Moeller Date: Mon, 29 Jan 2024 19:09:56 +0100 Subject: [PATCH 3/4] ci: Update version of nexus test instance to 3.64.0 --- README.md | 2 +- scripts/.env | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 842601d..37b45b5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Sonatype Nexus Golang Client -Implemented and tested with Sonatype Nexus `3.61.0-02`. +Implemented and tested with Sonatype Nexus `3.64.0-03`. ## Development and testing diff --git a/scripts/.env b/scripts/.env index 1e40194..d171f4e 100644 --- a/scripts/.env +++ b/scripts/.env @@ -1,3 +1,3 @@ export NEXUS_IMAGE=ghcr.io/datadrivers/docker-nexus3 -export NEXUS_VERSION=3.61.0 +export NEXUS_VERSION=3.64.0 export NEXUS_PORT=8081 From 8fa79d05b76bc76bd1f8bb6283134ca2c4074094 Mon Sep 17 00:00:00 2001 From: Andre Moeller Date: Mon, 29 Jan 2024 20:00:01 +0100 Subject: [PATCH 4/4] ci: Run tests sequential in pipeline --- .github/workflows/feature-branches.yaml | 1 + go.mod | 2 +- nexus3/routing_rule_test.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/feature-branches.yaml b/.github/workflows/feature-branches.yaml index 2549717..e0f1cd8 100644 --- a/.github/workflows/feature-branches.yaml +++ b/.github/workflows/feature-branches.yaml @@ -19,6 +19,7 @@ jobs: env: NEXUS3_LICENSE_B64_ENCODED: ${{ secrets.NEXUS3_LICENSE_B64_ENCODED }} AZURE_STORAGE_ACCOUNT_KEY: ${{ secrets.AZURE_STORAGE_ACCOUNT_KEY }} + GOMAXPROCS: "1" run: | echo "${NEXUS3_LICENSE_B64_ENCODED}" | base64 -d > scripts/license.lic make start-services diff --git a/go.mod b/go.mod index 76701c2..2d1b1d1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/datadrivers/go-nexus-client -go 1.21 +go 1.19 require ( github.com/google/go-querystring v1.1.0 diff --git a/nexus3/routing_rule_test.go b/nexus3/routing_rule_test.go index 80c4b1b..b3ed7c3 100644 --- a/nexus3/routing_rule_test.go +++ b/nexus3/routing_rule_test.go @@ -12,7 +12,7 @@ func testRoutingRule(name string, mode schema.RoutingRuleMode) *schema.RoutingRu return &schema.RoutingRule{ Name: name, Mode: mode, - Description: fmt.Sprintf("Go client routing roule %s", name), + Description: fmt.Sprintf("Go client routing rule %s", name), Matchers: []string{ "match1", },