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
2 changes: 1 addition & 1 deletion .github/workflows/ab-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: "1.27.3"

- name: Detect app id
id: app
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
# Go 1.27.3 everywhere in this repo: these jobs, the VM builds
# (deploy.yml, deploy/*/startup.sh) and the images (deploy/docker/).
# Go 1.25 is end of life. go.mod's go line is left alone.
go-version: "1.27.3"
cache: true

- name: gofmt (must be clean)
Expand Down Expand Up @@ -64,7 +67,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
go-version: "1.27.3"
cache: true
# staticcheck via `go run @latest` builds with THIS module's Go toolchain,
# so it always matches the go.mod version (golangci-lint v1 is built with an
Expand All @@ -78,7 +81,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
go-version: "1.27.3"
cache: true
- name: broker end-to-end (real process, multi-user)
run: ./scripts/e2e-broker.sh
Expand All @@ -89,7 +92,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
go-version: "1.27.3"
cache: true
- name: full publish→build→register→sign→broker→partner→meter+ratelimit
run: ./scripts/e2e-managed.sh
8 changes: 8 additions & 0 deletions .github/workflows/deploy-appstore-meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ jobs:
--tunnel-through-iap \
--command '
set -e
# Go 1.27.3 on the VM before building: startup.sh installs it on
# boot, this covers a VM that has not been reset since.
GO_VERSION=1.27.3
if ! /usr/local/go/bin/go version 2>/dev/null | grep -q "go${GO_VERSION} "; then
tgz=$(mktemp)
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" -o "$tgz"
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf "$tgz" && rm -f "$tgz"
fi
sudo -u pilot bash -c "export PATH=\$PATH:/usr/local/go/bin; \
cd /opt/pilot/app-template && git pull --ff-only && \
go run ./cmd/appstore-meta-api -check && \
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,15 @@ jobs:
set -euo pipefail
gcloud compute ssh "$INSTANCE" --project "$PROJECT" --zone "$ZONE" --tunnel-through-iap --command '
set -e
# Go 1.27.3 on the VM before building: startup.sh installs it on
# boot, this covers a VM that has not been reset since.
# publish-server also compiles submitted adapters with it.
GO_VERSION=1.27.3
if ! /usr/local/go/bin/go version 2>/dev/null | grep -q "go${GO_VERSION} "; then
tgz=$(mktemp)
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" -o "$tgz"
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf "$tgz" && rm -f "$tgz"
fi
sudo -u pilot bash -c "export PATH=\$PATH:/usr/local/go/bin; \
cd /opt/pilot/app-template && git pull --ff-only && \
go build -o /opt/pilot/publish-server ./cmd/publish-server && \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.25"
go-version: "1.27.3"

- name: Build verifier
run: go build -o /tmp/pilot-app ./cmd/pilot-app
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rotate-wallet-publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
go-version: "1.27.3"
- name: Rotate io.pilot.wallet's publisher pin
env:
CATALOG_PUBLISH_TOKEN: ${{ secrets.CATALOG_PUBLISH_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/submission-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-go@v5
with:
go-version: "1.25"
go-version: "1.27.3"

- name: Build, vet, test the tool
run: |
Expand Down
2 changes: 1 addition & 1 deletion deploy/appstore-meta/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# appstore-meta-ref git ref to build (empty -> main)
set -euo pipefail

GO_VERSION=1.25.0
GO_VERSION=1.27.3
ARCH=linux-amd64
REPO=https://github.com/pilot-protocol/app-template

Expand Down
2 changes: 1 addition & 1 deletion deploy/docker/broker.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Build from the repo root:
# docker build -f deploy/docker/broker.Dockerfile -t pilot-broker .
FROM golang:1.25 AS build
FROM golang:1.27.3 AS build
WORKDIR /src
COPY go.mod go.sum ./
RUN go mod download
Expand Down
2 changes: 1 addition & 1 deletion deploy/docker/publish-server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# Build from the repo root:
# docker build -f deploy/docker/publish-server.Dockerfile -t pilot-publish-server .
FROM golang:1.25
FROM golang:1.27.3
RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates \
&& rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion deploy/smol-broker/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# SMOL_DERIVE_SECRET the HMAC secret used to mint per-user keys
set -euo pipefail

GO_VERSION=1.25.0
GO_VERSION=1.27.3
BRANCH="${BROKER_BRANCH:-main}"
HOSTNAME_FQDN="smol-broker.pilotprotocol.network"

Expand Down
2 changes: 1 addition & 1 deletion deploy/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# admin-token gates /admin + approve/reject
set -euo pipefail

GO_VERSION=1.25.0
GO_VERSION=1.27.3
ARCH=linux-amd64

apt-get update -y
Expand Down
Loading