Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade go version to 1.22 #658

Merged
merged 1 commit into from
Jul 15, 2024
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: true

- name: Build
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: true

- name: Run docker containers
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: true

- name: Lint
Expand All @@ -140,7 +140,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: true

- name: Generate doc
Expand All @@ -164,7 +164,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: true

- name: Download dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'
cache: true

- name: Run GoReleaser
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG APP_IMAGE=ubuntu:latest

# Build
FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS build

ARG VERSION
ARG BUILD_TIME
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile_dev
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG APP_IMAGE=ubuntu:20.04

# Build
FROM --platform=$BUILDPLATFORM golang:1.21-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS build

ARG VERSION
ARG BUILD_TIME
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/ozontech/file.d

go 1.21
go 1.22

toolchain go1.21.0
toolchain go1.22.0

require (
github.com/ClickHouse/ch-go v0.58.2
Expand Down
Loading