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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ jobs:
go-version-file: go.mod
- run: go build ./...
- run: go vet ./...
- run: test -z "$(gofmt -l .)"
# gofmt only our code — vendor/ is third-party and not ours to format.
- run: test -z "$(gofmt -l cmd internal)"
- run: go test ./...
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# footics-mcp — multi-stage build → tiny static binary (same pattern as footics-api).
# Deps are VENDORED (vendor/), so the build is hermetic: no module proxy, no
# network — reproducible on any box/CI (proxy.golang.org has 403'd transitive
# deps from some IPs; vendoring sidesteps it entirely). GOFLAGS pins vendor mode.

# ---- build ----
FROM golang:1.25 AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
COPY . .
ENV CGO_ENABLED=0 GOOS=linux
ENV CGO_ENABLED=0 GOOS=linux GOFLAGS=-mod=vendor GOPROXY=off
RUN go build -trimpath -ldflags="-s -w" -o /mcp ./cmd/mcp

# ---- runtime ----
Expand Down
4 changes: 4 additions & 0 deletions vendor/github.com/golang-jwt/jwt/v5/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions vendor/github.com/golang-jwt/jwt/v5/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

195 changes: 195 additions & 0 deletions vendor/github.com/golang-jwt/jwt/v5/MIGRATION_GUIDE.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading