diff --git a/.github/workflows/ci-image.yml b/.github/workflows/ci-image.yml index 9cfa282..a6a5522 100644 --- a/.github/workflows/ci-image.yml +++ b/.github/workflows/ci-image.yml @@ -201,7 +201,7 @@ jobs: - name: Set up Bun uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 with: - bun-version: 1.4.2 + bun-version: 1.4.4 - name: Install frontend dependencies working-directory: frontend diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 18eff99..b88a57a 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -157,7 +157,7 @@ jobs: - name: Set up Bun uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2 with: - bun-version: 1.4.2 + bun-version: 1.4.4 - name: Install frontend dependencies working-directory: frontend diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 0dbcccd..d343c40 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM oven/bun:1.4.2@sha256:9114c058aeae42162ee16dd5084b95fe9473970bb6bcb5b232ab1630f0546895 AS frontend +FROM --platform=$BUILDPLATFORM oven/bun:1.4.4@sha256:1d22548f177f4ff38e0c15baa3c2c46c6c2060ba2d1bc573bb4720b407548f1d AS frontend WORKDIR /src/frontend COPY frontend/package.json frontend/bun.lock* ./ RUN bun install --frozen-lockfile @@ -18,7 +18,7 @@ RUN go build -trimpath \ -ldflags="-s -w -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.Version=${N2API_VERSION} -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.Commit=${N2API_COMMIT} -X=github.com/KnowSky404/N2API/backend/internal/buildinfo.BuildTime=${N2API_BUILD_TIME}" \ -o /out/n2api ./cmd/n2api -FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a ARG N2API_VERSION=dev ARG N2API_COMMIT=unknown ARG N2API_BUILD_TIME=1970-01-01T00:00:00Z diff --git a/deploy/Dockerfile.e2e b/deploy/Dockerfile.e2e index 297bd0a..796ce9a 100644 --- a/deploy/Dockerfile.e2e +++ b/deploy/Dockerfile.e2e @@ -7,7 +7,7 @@ COPY backend/ ./ FROM e2e-go-base AS mock-openai-builder RUN CGO_ENABLED=0 go build -trimpath -o /out/mock-openai ./cmd/mock-openai -FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS mock-openai +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a AS mock-openai RUN apk add --no-cache --upgrade curl libcrypto3 libssl3 WORKDIR /app COPY --from=mock-openai-builder /out/mock-openai /app/mock-openai @@ -18,14 +18,14 @@ ENTRYPOINT ["/app/mock-openai"] FROM e2e-go-base AS gateway-e2e-builder RUN CGO_ENABLED=0 go test -c -o /out/gateway-e2e ./e2e -FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b AS gateway-e2e +FROM alpine:3.24.3@sha256:be2656061b536c1883c4034790e21d0a09c5aaaf51968b89368a3c0371ea2c9a AS gateway-e2e RUN apk add --no-cache --upgrade libcrypto3 libssl3 WORKDIR /app COPY --from=gateway-e2e-builder /out/gateway-e2e /app/gateway-e2e USER 65532:65532 ENTRYPOINT ["/app/gateway-e2e", "-test.v", "-test.timeout=3m"] -FROM oven/bun:1.4.2-alpine@sha256:d888c0ae6c86d7866ff10c5aafdd9077b36aee6455b33dd270fb93c0dd5cef6f AS contracts-javascript +FROM oven/bun:1.4.4-alpine@sha256:4cf82f5686b196504fe119db3fcd9185b191f82ece82c40680e597228ec6070a AS contracts-javascript WORKDIR /app COPY tests/contracts/javascript/package.json tests/contracts/javascript/bun.lock ./ RUN bun install --frozen-lockfile --production @@ -33,7 +33,7 @@ COPY tests/contracts/javascript/openai.test.ts ./ USER bun ENTRYPOINT ["bun", "test", "openai.test.ts"] -FROM ghcr.io/astral-sh/uv:0.12.17@sha256:10787c682e4184e4f290de1171fd4703dc63de99221f10fe1c99002ce7fa9acc AS uv-bin +FROM ghcr.io/astral-sh/uv:0.13.7@sha256:96f40d3904aad8d0bd010539001d36c8e2188b981e1334471a90c4a1d93bb490 AS uv-bin FROM python:3.12.13-slim-bookworm@sha256:d50fb7611f86d04a3b0471b46d7557818d88983fc3136726336b2a4c657aa30b AS contracts-python ENV PYTHONDONTWRITEBYTECODE=1 \ diff --git a/dev/ci/verify-pinned-dependencies.sh b/dev/ci/verify-pinned-dependencies.sh index 5391ce7..868c5ad 100755 --- a/dev/ci/verify-pinned-dependencies.sh +++ b/dev/ci/verify-pinned-dependencies.sh @@ -67,7 +67,7 @@ while IFS=: read -r workflow line source; do echo "$workflow:$line must pin external Action $reference to a full commit SHA" >&2 exit 1 fi -done < <(rg -n --no-heading '^[[:space:]]*uses:[[:space:]]*' .github/workflows) +done < <(grep -nE '^[[:space:]]*uses:[[:space:]]*' .github/workflows/*.yml) declare -A build_stages=() while IFS= read -r stage; do diff --git a/frontend/package.json b/frontend/package.json index a5bb902..8189698 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,7 +3,7 @@ "private": true, "version": "0.1.0", "type": "module", - "packageManager": "bun@1.4.2", + "packageManager": "bun@1.4.4", "scripts": { "dev": "vite --host 0.0.0.0", "test": "bun test", diff --git a/tests/contracts/javascript/package.json b/tests/contracts/javascript/package.json index fad360b..62e2af0 100644 --- a/tests/contracts/javascript/package.json +++ b/tests/contracts/javascript/package.json @@ -3,7 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", - "packageManager": "bun@1.4.2", + "packageManager": "bun@1.4.4", "scripts": { "test": "bun test openai.test.ts" },