Skip to content

Commit 5d1f670

Browse files
authored
Enable dependabot for /deploy and pin Go version to 1.24 (#697)
<!-- Provide a brief summary of your changes --> ## Motivation and Context <!-- Why is this change needed? What problem does it solve? --> There was feedback that other projects wanting to use the registry package have to upgrade to 1.25 (because of how Go works). In the registry itself we are not relying on 1.25 features so this PR reverts us back to 1.24 until 1.25 becomes better adopted and we can safely move to it. Also realised we were not keeping our dependencies for our deploy/infra code up to date with Dependabot so this fixes that too. ## How Has This Been Tested? <!-- Have you tested this in a real application? Which scenarios were tested? --> ## Breaking Changes <!-- Will users need to update their code or configurations? --> ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply. --> - [ ] I have read the [MCP Documentation](https://modelcontextprotocol.io) - [ ] My code follows the repository's style guidelines - [ ] New and existing tests pass locally - [ ] I have added appropriate error handling - [ ] I have added or updated documentation as needed ## Additional context <!-- Add any other context, implementation notes, or design decisions --> --------- Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent d704192 commit 5d1f670

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ updates:
44
directory: /
55
schedule:
66
interval: daily
7+
- package-ecosystem: gomod
8+
directory: /deploy
9+
schedule:
10+
interval: daily
711
- package-ecosystem: github-actions
812
directory: /
913
groups:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.25-alpine AS builder
1+
FROM golang:1.24-alpine AS builder
22
WORKDIR /app
33

44
# Copy go mod files first and download dependencies

deploy/go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/modelcontextprotocol/registry/deploy/infra
22

3-
go 1.23.0
4-
5-
toolchain go1.24.1
3+
go 1.24.6
64

75
require (
86
github.com/pulumi/pulumi-gcp/sdk/v8 v8.39.0

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
module github.com/modelcontextprotocol/registry
22

3-
go 1.25
3+
go 1.24.6
44

55
require (
66
github.com/caarlos0/env/v11 v11.3.1
77
github.com/coreos/go-oidc/v3 v3.16.0
88
github.com/danielgtaylor/huma/v2 v2.34.1
9+
github.com/distribution/reference v0.6.0
910
github.com/golang-jwt/jwt/v5 v5.3.0
1011
github.com/jackc/pgx/v5 v5.7.6
1112
github.com/prometheus/client_golang v1.23.2
@@ -25,7 +26,6 @@ require (
2526
github.com/beorn7/perks v1.0.1 // indirect
2627
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2728
github.com/davecgh/go-spew v1.1.1 // indirect
28-
github.com/distribution/reference v0.6.0 // indirect
2929
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
3030
github.com/go-logr/logr v1.4.3 // indirect
3131
github.com/go-logr/stdr v1.2.2 // indirect

0 commit comments

Comments
 (0)