Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.8.0
version: v2.14.0
only-new-issues: false
args: --timeout 5m
skip-cache: true
Expand Down
8 changes: 0 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ linters:
- dupl
- errcheck
- forbidigo
- goconst
- gocritic
- govet
- ineffassign
Expand Down Expand Up @@ -38,9 +37,6 @@ linters:
- pattern: ^print.*$
- pattern: ^fmt\.Print.*$
msg: Do not commit print statements.
goconst:
min-len: 2
min-occurrences: 3
gocritic:
disabled-checks:
- whyNoLint
Expand Down Expand Up @@ -75,17 +71,13 @@ linters:
- linters:
- dupl
- errcheck
- goconst
- gocyclo
- gosec
- prealloc
path: _test\.go
- linters:
- govet
text: declaration of "(err|ctx)"
- linters:
- goconst
path: pipeline/doif
paths:
- testdata$
formatters:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ VERSION ?= $(shell git describe --abbrev=4 --dirty --always --tags)
TIME := $(shell date '+%Y-%m-%d_%H:%M:%S')
UPSTREAM_BRANCH ?= origin/master

GOLANGCI_LINT_VER=v2.8.0
GOLANGCI_LINT_VER=v2.14.0
GOOS ?= linux
GOARCH ?= amd64

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.25-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.27.1-alpine AS build

ARG VERSION
ARG BUILD_TIME
Expand Down
2 changes: 1 addition & 1 deletion build/package/Dockerfile.scratch
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.25-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.27.1-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:latest

# Build
FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.27.1-alpine AS build

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

# Build
FROM --platform=$BUILDPLATFORM golang:1.25-alpine AS build
FROM --platform=$BUILDPLATFORM golang:1.27.1-alpine AS build

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

go 1.25.0

toolchain go1.25.5
go 1.27.1

require (
github.com/ClickHouse/ch-go v0.65.1
Expand Down
9 changes: 8 additions & 1 deletion plugin/action/transform/runtime/set_fastpath_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,14 @@ func TestSetFastPathInvalidUTF8(t *testing.T) {
viaJSON := setViaJSON(t, a, "out", core.StringValue{V: bad})
viaFast := setViaTarget(t, b, "out", core.StringValue{V: bad})

require.Equal(t, `{"keep":1,"out":"bad\ufffd\ufffdutf8"}`, viaJSON)
var got struct {
Keep int `json:"keep"`
Out string `json:"out"`
}

require.NoError(t, json.Unmarshal([]byte(viaJSON), &got))
require.Equal(t, 1, got.Keep)
require.Equal(t, "bad\ufffd\ufffdutf8", got.Out)
require.Equal(t, "{\"keep\":1,\"out\":\"bad\xff\xfeutf8\"}", viaFast)
}

Expand Down
Loading