diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f30baa0b9..deb1e3ee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cee4f0483..7e94f9c68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/build/package/Dockerfile b/build/package/Dockerfile index 7ce9030e4..db0b91cc7 100644 --- a/build/package/Dockerfile +++ b/build/package/Dockerfile @@ -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 diff --git a/build/package/Dockerfile_dev b/build/package/Dockerfile_dev index 0a7eaffb7..2dc621218 100644 --- a/build/package/Dockerfile_dev +++ b/build/package/Dockerfile_dev @@ -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 diff --git a/go.mod b/go.mod index 9f2489a48..7832f298b 100644 --- a/go.mod +++ b/go.mod @@ -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