Skip to content

Commit 9c9e7fc

Browse files
authored
chore(ci): update Go version to 1.25 and golangci-lint to v2.6.1 (#456)
Signed-off-by: Marc Nuri <marc@marcnuri.com>
1 parent d072e26 commit 9c9e7fc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
cancel-in-progress: true
2121

2222
env:
23-
GO_VERSION: 1.23
23+
GO_VERSION: 1.25
2424

2525
defaults:
2626
run:

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111
cancel-in-progress: true
1212

1313
env:
14-
GO_VERSION: 1.23
14+
GO_VERSION: 1.25
1515
UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }}
1616

1717
permissions:
@@ -22,6 +22,7 @@ permissions:
2222
jobs:
2323
release:
2424
name: Release
25+
if: github.repository == 'containers/kubernetes-mcp-server'
2526
runs-on: macos-latest
2627
steps:
2728
- name: Checkout
@@ -50,6 +51,7 @@ jobs:
5051
make npm-publish
5152
python:
5253
name: Release Python
54+
if: github.repository == 'containers/kubernetes-mcp-server'
5355
# Python logic requires the tag/release version to be available from GitHub
5456
needs: release
5557
runs-on: ubuntu-latest

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ LD_FLAGS = -s -w \
1616
COMMON_BUILD_ARGS = -ldflags "$(LD_FLAGS)"
1717

1818
GOLANGCI_LINT = $(shell pwd)/_output/tools/bin/golangci-lint
19-
GOLANGCI_LINT_VERSION ?= v2.5.0
19+
GOLANGCI_LINT_VERSION ?= v2.6.1
2020

2121
# NPM version should not append the -dirty flag
2222
GIT_TAG_VERSION ?= $(shell echo $(shell git describe --tags --always) | sed 's/^v//')

0 commit comments

Comments
 (0)