diff --git a/.go-version b/.go-version index a6c2798..d905a6d 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.23.0 +1.25.1 diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 55203df..84df2f8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -376,7 +376,7 @@ dockers: - "ghcr.io/ivuorinen/f2b:latest-amd64" dockerfile: | - FROM alpine:3.20 + FROM alpine:3.22 RUN apk --no-cache add ca-certificates COPY f2b /usr/local/bin/ ENTRYPOINT ["f2b"] @@ -401,7 +401,7 @@ dockers: - "ghcr.io/ivuorinen/f2b:latest-arm64" dockerfile: | - FROM alpine:3.20 + FROM alpine:3.22 RUN apk --no-cache add ca-certificates COPY f2b /usr/local/bin/ ENTRYPOINT ["f2b"] @@ -426,7 +426,7 @@ dockers: - "ghcr.io/ivuorinen/f2b:latest-armv7" dockerfile: | - FROM alpine:3.20 + FROM alpine:3.22 RUN apk --no-cache add ca-certificates COPY f2b /usr/local/bin/ ENTRYPOINT ["f2b"] diff --git a/README.md b/README.md index 4c93893..91a3fcc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A modern, secure, and extensible Go CLI tool for managing [Fail2Ban](https://www Built with Go, featuring automatic sudo privilege management, shell completion, and comprehensive security. [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/) -[![Go Version](https://img.shields.io/badge/Go-%3E%3D1.20-blue.svg)](https://golang.org/) +[![Go Version](https://img.shields.io/badge/Go-%3E%3D1.25-blue.svg)](https://golang.org/) [![Build Status](https://img.shields.io/badge/tests-passing-brightgreen.svg)](https://github.com/ivuorinen/f2b/actions) --- diff --git a/docs/architecture.md b/docs/architecture.md index 80f0b5d..09e3d24 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -143,7 +143,7 @@ fail2ban/client.go ### Core Technologies -- **Language**: Go 1.20+ +- **Language**: Go 1.25+ - **CLI Framework**: [Cobra](https://github.com/spf13/cobra) - **Logging**: [Logrus](https://github.com/sirupsen/logrus) with structured output and contextual logging - **Testing**: Go's built-in testing with comprehensive mocks and fluent testing framework diff --git a/go.mod b/go.mod index dab6785..207bac0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ivuorinen/f2b -go 1.22 +go 1.25 require ( github.com/hashicorp/go-version v1.7.0 diff --git a/go.sum b/go.sum index f5759be..6992eba 100644 --- a/go.sum +++ b/go.sum @@ -11,12 +11,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= -github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s= github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0= -github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= -github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=