Skip to content

Commit 1c7b7ae

Browse files
Bump Go toolchain to 1.25.11 to resolve std-lib security vulnerabilities
Snyk flagged the Go standard library at 1.23.7 with 10 HIGH-severity vulns in std/crypto/x509, std/mime, std/net, std/net/http, and std/net/url. Bumping the go directive to 1.25.11 (the smallest patch that clears all reported HIGHs) builds against a patched std lib. Also bump golangci-lint to v2.5.0 (built with go1.25) so the linter supports the new language version, and pin the lint workflow's Go to go.mod. Co-Authored-By: shayan <shayan@cognition.ai>
1 parent f88456f commit 1c7b7ae

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-go@v5
1818
with:
19-
go-version: stable
19+
go-version-file: "go.mod"
2020
- name: golangci-lint
2121
uses: golangci/golangci-lint-action@v8
2222
with:
23-
version: v2.1
23+
version: v2.5.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24.4-alpine AS build
1+
FROM golang:1.25.11-alpine AS build
22
ARG VERSION="dev"
33

44
# Set the working directory

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/github/github-mcp-server
22

3-
go 1.23.7
3+
go 1.25.11
44

55
require (
66
github.com/google/go-github/v72 v72.0.0

0 commit comments

Comments
 (0)