Skip to content

Commit aacd03b

Browse files
authored
Migrate to go-1.22 (#136)
1 parent 6d48337 commit aacd03b

23 files changed

Lines changed: 581 additions & 385 deletions

.github/workflows/docker.yml

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

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

3131
- name: Check out code into the Go module directory
3232
uses: actions/checkout@v4
3333

3434
- name: Lint
35-
uses: golangci/golangci-lint-action@v3
35+
uses: golangci/golangci-lint-action@v6
3636
with:
3737
args: -p bugs -p unused --timeout=3m
3838

@@ -41,7 +41,7 @@ jobs:
4141
make proto
4242
4343
- name: Check if there are changes
44-
uses: tj-actions/verify-changed-files@v17
44+
uses: tj-actions/verify-changed-files@v20
4545
id: verify-changed-files
4646

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

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

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FROM alpine:3.19 as health-downloader
2-
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.25 \
1+
FROM alpine:3.20 as health-downloader
2+
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.26 \
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 \
@@ -18,7 +18,7 @@ WORKDIR /work
1818
COPY . .
1919
RUN make server client
2020

21-
FROM alpine:3.19
21+
FROM alpine:3.20
2222
COPY --from=health-downloader /bin/grpc_health_probe /bin/grpc_health_probe
2323
COPY --from=builder /work/bin/* /
2424
ENTRYPOINT [ "/server" ]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ The benchmarks above were performed using:
184184
* etcd:v3.5.9
185185
* mongodb:7
186186

187-
### Database Version Compatability
187+
### Database Version Compatibility
188188

189189
| Database | Details |
190190
|-------------|---------------------------------------------------------------------------------------------------------------------------|

api/v1/apiv1connect/ipam.connect.go

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

0 commit comments

Comments
 (0)