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
3 changes: 2 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@main
with:
golangci-lint-version: '1.64.6'
golangci-lint-version: '2.4.0'
go-version: '1.25'
branch: ${{ github.event.inputs.branch }}
environment: ${{ github.event.inputs.environment }}
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@main
with:
golangci-lint-version: '1.64.6'
golangci-lint-version: '2.4.0'
go-version: '1.25'
plugin-version-suffix: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
run-playwright: true
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/grafana/mqtt-datasource

go 1.24.6
go 1.25

require (
github.com/eclipse/paho.mqtt.golang v1.5.0
Expand Down
4 changes: 2 additions & 2 deletions pkg/mqtt/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func TestClient_Subscribe_Deduplication(t *testing.T) {

// Verify only one topic is stored
count := 0
c.topics.Map.Range(func(key, value interface{}) bool {
c.topics.Range(func(key, value any) bool {
count++
return true
})
Expand Down Expand Up @@ -199,7 +199,7 @@ func TestClient_Subscribe_MultipleStreamingKeys(t *testing.T) {

// Verify all three topics are stored separately
count := 0
c.topics.Map.Range(func(key, value interface{}) bool {
c.topics.Range(func(key, value any) bool {
count++
return true
})
Expand Down
Loading