Skip to content
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
2 changes: 2 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ linters:
- depguard
- errchkjson
- exhaustruct
- exhaustruct_v5
- funlen
- gocognit
- godox
Expand Down
3 changes: 1 addition & 2 deletions config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ func clearConfigEnv(t *testing.T) {
t.Helper()

typ := reflect.TypeFor[config]()
for i := range typ.NumField() {
field := typ.Field(i)
for field := range typ.Fields() {
if name := field.Tag.Get("env"); name != "" {
if os.Getenv(name) != "" {
t.Setenv(name, "")
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/testcontainers/moby-ryuk

go 1.23.9
go 1.27.3

require (
github.com/caarlos0/env/v11 v11.3.1
Expand Down
2 changes: 1 addition & 1 deletion linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -----------
# Build Image
# -----------
FROM golang:1.26-alpine3.22 AS build
FROM golang:1.27-alpine3.23 AS build

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion reaper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var (
})

// discardLogger is a logger that discards all logs.
discardLogger = withLogger(slog.New(slog.NewTextHandler(io.Discard, nil)))
discardLogger = withLogger(slog.New(slog.DiscardHandler))

// testLabels1 is a set of unique test labels.
testLabels1 = map[string]string{
Expand Down
2 changes: 1 addition & 1 deletion windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG BASE_IMAGE
# -----------
# Build Image
# -----------
FROM golang:1.26-nanoserver AS build
FROM golang:1.27-nanoserver AS build

# Go build env
ENV CGO_ENABLED=0
Expand Down
Loading