From 3dcfd16c8378e54051c664f191a3c230eac28850 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Thu, 3 Apr 2025 11:29:47 +0200 Subject: [PATCH 1/2] go.mod: Bump go version to 1.24.1 Recently the dependabot PRs would otherwise add the toolchain directive. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 897a0eff..7b0d7f78 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/icinga/icingadb -go 1.23.0 +go 1.24.1 require ( github.com/creasty/defaults v1.8.0 From a515b70a0b4c5cf5fbe61b4422423d177faf9561 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Thu, 3 Apr 2025 11:41:40 +0200 Subject: [PATCH 2/2] GHA: Remove staticheck action from Go Workflow After bumping the Go version to 1.24.1, the staticcheck-action fails since it is outdated. No update is available. However, since staticcheck is enabled by default in the golangci-lint action, it can be removed. --- .github/workflows/go.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d692809a..5a43d693 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -34,10 +34,6 @@ jobs: with: go-version: 1.x - - uses: dominikh/staticcheck-action@fe1dd0c3658873b46f8c9bb3291096a617310ca6 # v1.3.1 - with: - install-go: false - - uses: golangci/golangci-lint-action@v7 with: version: latest