Skip to content

Commit

Permalink
Migrate to go-1.22 (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 authored Jun 11, 2024
1 parent 6d48337 commit aacd03b
Show file tree
Hide file tree
Showing 23 changed files with 581 additions and 385 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
cache: false
id: go

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

- name: Lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
args: -p bugs -p unused --timeout=3m

Expand All @@ -41,7 +41,7 @@ jobs:
make proto
- name: Check if there are changes
uses: tj-actions/verify-changed-files@v17
uses: tj-actions/verify-changed-files@v20
id: verify-changed-files

- name: Process changes
Expand Down Expand Up @@ -89,10 +89,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.21
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
cache: false
id: go

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:3.19 as health-downloader
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.25 \
FROM alpine:3.20 as health-downloader
ENV GRPC_HEALTH_PROBE_VERSION=v0.4.26 \
GRPC_HEALTH_PROBE_URL=https://github.com/grpc-ecosystem/grpc-health-probe/releases/download
RUN apk -U add curl \
&& curl -fLso /bin/grpc_health_probe \
Expand All @@ -18,7 +18,7 @@ WORKDIR /work
COPY . .
RUN make server client

FROM alpine:3.19
FROM alpine:3.20
COPY --from=health-downloader /bin/grpc_health_probe /bin/grpc_health_probe
COPY --from=builder /work/bin/* /
ENTRYPOINT [ "/server" ]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ The benchmarks above were performed using:
* etcd:v3.5.9
* mongodb:7

### Database Version Compatability
### Database Version Compatibility

| Database | Details |
|-------------|---------------------------------------------------------------------------------------------------------------------------|
Expand Down
29 changes: 29 additions & 0 deletions api/v1/apiv1connect/ipam.connect.go

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

Loading

0 comments on commit aacd03b

Please sign in to comment.