From a36bb661ad53c6dad38908f90e6d60d828c91a87 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 18 Jan 2025 07:16:28 +0000 Subject: [PATCH 1/5] fix(deps): update module github.com/onsi/ginkgo to v2.22.2 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 06e4573..3cc0629 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,7 @@ require ( github.com/docker/docker v27.5.0+incompatible github.com/docker/go-connections v0.5.0 github.com/onsi/ginkgo v1.16.5 + github.com/onsi/ginkgo/v2 v2.22.2 github.com/onsi/gomega v1.36.2 github.com/prometheus/client_golang v1.20.5 github.com/robfig/cron v1.2.0 @@ -74,7 +75,6 @@ require ( ) require ( - github.com/onsi/ginkgo/v2 v2.22.2 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect golang.org/x/sys v0.29.0 // indirect From 8d30ac77c0b8d222269f1b6140033676c5fd1385 Mon Sep 17 00:00:00 2001 From: Nick Fedor <71477161+nicholas-fedor@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:06:04 -0700 Subject: [PATCH 2/5] Update broken linter --- .github/workflows/pull-request.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 062e212..2cffb4a 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -14,18 +14,14 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v5 + go-version: stable + - name: golangci-lint + uses: golangci/golangci-lint-action@v6 with: - go-version: 1.23.x - - uses: dominikh/staticcheck-action@v1.3.1 - with: - # version: "2024.1.1" - install-go: "false" # StaticCheck uses go v1.17 which does not support `any` + version: v1.60 test: name: Test strategy: From ec4256dcbebc09984c98c55d8680d84fadc9d8d4 Mon Sep 17 00:00:00 2001 From: Nick Fedor <71477161+nicholas-fedor@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:06:21 -0700 Subject: [PATCH 3/5] Update deprecated option --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2cffb4a..59459f3 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -66,4 +66,4 @@ jobs: uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6 with: version: '~> v2' - args: --snapshot --skip-publish --debug + args: --snapshot --skip=publish --debug From 0d14b89db7efcec62cadb212785d78af18652af2 Mon Sep 17 00:00:00 2001 From: Nick Fedor <71477161+nicholas-fedor@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:12:58 -0700 Subject: [PATCH 4/5] Modify version Use explicit version consistent with release.yml --- .github/workflows/pull-request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 59459f3..c1ff001 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -65,5 +65,5 @@ jobs: - name: Build uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6 with: - version: '~> v2' + version: v0.155.0 args: --snapshot --skip=publish --debug From 63f05f31ea1da198d200b20b03a03610a987ff64 Mon Sep 17 00:00:00 2001 From: Nick Fedor <71477161+nicholas-fedor@users.noreply.github.com> Date: Sat, 18 Jan 2025 01:13:11 -0700 Subject: [PATCH 5/5] Enable CodeCov --- .github/workflows/pull-request.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c1ff001..11ef8e9 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -46,10 +46,10 @@ jobs: - name: Run tests run: | go test -v -coverprofile coverage.out -covermode atomic ./... - # - name: Publish coverage - # uses: codecov/codecov-action@v5 - # with: - # token: ${{ secrets.CODECOV_TOKEN }} + - name: Publish coverage + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} build: name: Build runs-on: ubuntu-latest