Skip to content

Commit 87c4cf0

Browse files
authored
Update go, modules and buf (#172)
1 parent 2990685 commit 87c4cf0

File tree

9 files changed

+160
-164
lines changed

9 files changed

+160
-164
lines changed

.github/workflows/docker.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323

24-
- name: Set up Go 1.23
24+
- name: Set up Go 1.24
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: "1.23"
27+
go-version: "1.24"
2828
cache: false
2929
id: go
3030

@@ -89,10 +89,10 @@ jobs:
8989
runs-on: ubuntu-latest
9090
steps:
9191

92-
- name: Set up Go 1.23
92+
- name: Set up Go 1.24
9393
uses: actions/setup-go@v5
9494
with:
95-
go-version: "1.23"
95+
go-version: "1.24"
9696
cache: false
9797
id: go
9898

@@ -101,4 +101,18 @@ jobs:
101101

102102
- name: run benchmark
103103
run: |
104-
make bench
104+
make bench | tee output.txt
105+
106+
- name: Download previous benchmark data
107+
uses: actions/cache@v4
108+
with:
109+
path: ./cache
110+
key: ${{ runner.os }}-benchmark
111+
112+
- name: Store benchmark result
113+
uses: benchmark-action/github-action-benchmark@v1
114+
with:
115+
tool: 'go'
116+
output-file-path: output.txt
117+
external-data-json-path: ./cache/benchmark-data.json
118+
fail-on-alert: true

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM alpine:3.20 AS health-downloader
1+
FROM alpine:3.21 AS health-downloader
22
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.28 \
33
GRPC_HEALTH_PROBE_URL=https://github.com/grpc-ecosystem/grpc-health-probe/releases/download
44
RUN apk -U add curl \
55
&& curl -fLso /bin/grpc_health_probe \
66
${GRPC_HEALTH_PROBE_URL}/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 \
77
&& chmod +x /bin/grpc_health_probe
88

9-
FROM golang:1.23-alpine AS builder
9+
FROM golang:1.24-alpine AS builder
1010
RUN apk add \
1111
binutils \
1212
gcc \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ benchstat:
2929

3030
.PHONY: test
3131
test:
32-
CGO_ENABLED=1 $(GO) test ./... -coverprofile=coverage.out -covermode=atomic && go tool cover -func=coverage.out
32+
CGO_ENABLED=1 $(GO) test -v ./... -coverprofile=coverage.out -covermode=atomic && go tool cover -func=coverage.out
3333

3434
.PHONY: fuzz
3535
fuzz:

api/v1/apiv1connect/ipam.connect.go

Lines changed: 32 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1/ipam.pb.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)