Skip to content

Commit

Permalink
upgrade go version to 1.22 (#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryRomanov committed Jul 15, 2024
1 parent d02c290 commit 77f96e2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
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

0 comments on commit 77f96e2

Please sign in to comment.