Skip to content

Commit

Permalink
Revert "upgrade go version to 1.22 (#658)"
Browse files Browse the repository at this point in the history
This reverts commit 77f96e2.
  • Loading branch information
DmitryRomanov authored Jul 18, 2024
1 parent 77f96e2 commit b11729e
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.22'
go-version: '1.21'
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.22'
go-version: '1.21'
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.22'
go-version: '1.21'
cache: true

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

- name: Generate doc
Expand All @@ -164,7 +164,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
go-version: '1.21'
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.22'
go-version: '1.21'
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.22-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.21-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.22-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.21-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.22
go 1.21

toolchain go1.22.0
toolchain go1.21.0

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

0 comments on commit b11729e

Please sign in to comment.