From d79fc2c1a83d1b382e54ae136c784776bb25e258 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 04:52:30 +0000 Subject: [PATCH 1/2] Bump perses/github-actions from 0.12.0 to 0.13.0 in the actions group Bumps the actions group with 1 update: [perses/github-actions](https://github.com/perses/github-actions). Updates `perses/github-actions` from 0.12.0 to 0.13.0 - [Release notes](https://github.com/perses/github-actions/releases) - [Changelog](https://github.com/perses/github-actions/blob/main/RELEASE.md) - [Commits](https://github.com/perses/github-actions/compare/v0.12.0...v0.13.0) --- updated-dependencies: - dependency-name: perses/github-actions dependency-version: 0.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/golangci-lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index ff9713c..185d78e 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -11,7 +11,7 @@ jobs: steps: - name: checkout uses: actions/checkout@v7 - - uses: perses/github-actions@v0.12.0 + - uses: perses/github-actions@v0.13.0 - uses: ./.github/perses-ci/actions/setup_environment with: enable_go: true @@ -28,7 +28,7 @@ jobs: steps: - name: checkout uses: actions/checkout@v7 - - uses: perses/github-actions@v0.12.0 + - uses: perses/github-actions@v0.13.0 - uses: ./.github/perses-ci/actions/setup_environment with: enable_go: true @@ -40,7 +40,7 @@ jobs: steps: - name: checkout uses: actions/checkout@v7 - - uses: perses/github-actions@v0.12.0 + - uses: perses/github-actions@v0.13.0 - uses: ./.github/perses-ci/actions/setup_environment with: enable_go: true From d8c97a3dfe9f7019757cdd6e748c6ab3a75ec215 Mon Sep 17 00:00:00 2001 From: Augustin Husson Date: Fri, 4 Sep 2026 10:07:38 +0200 Subject: [PATCH 2/2] upgrade go to v1.27.1 Signed-off-by: Augustin Husson --- .github/workflows/golangci-lint.yml | 2 +- config/resolver.go | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 185d78e..8fc3c79 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -21,7 +21,7 @@ jobs: uses: golangci/golangci-lint-action@v9.3.0 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v2.10.1 + version: v2.13.2 test: name: test runs-on: ubuntu-latest diff --git a/config/resolver.go b/config/resolver.go index 97b140b..ebc230c 100644 --- a/config/resolver.go +++ b/config/resolver.go @@ -103,7 +103,7 @@ func checkPointer(ptr reflect.Value) error { func verifyRec(conf reflect.Value) error { v := conf - if conf.Kind() != reflect.Ptr { + if conf.Kind() != reflect.Pointer { // that means it's not a pointer, so we have to create one to be able to then know if it implements the interface Validator ptr := reflect.New(v.Type()) ptr.Elem().Set(v) diff --git a/go.mod b/go.mod index 91cfe25..5b8a6e1 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/perses/common -go 1.26.0 +go 1.27.1 require ( github.com/flc1125/go-cron/v4 v4.12.0