Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,14 +21,14 @@ 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
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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading