1 Commits

Author SHA1 Message Date
08081f7c05 chore(deps): update dependency golangci/golangci-lint to v2.3.1
Some checks failed
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 7s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 50s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 49s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 14s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 13s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 53s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 53s
2025-08-12 09:58:57 +00:00
4 changed files with 3 additions and 4 deletions

View File

@ -26,4 +26,4 @@ jobs:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v8.0.0 - uses: golangci/golangci-lint-action@v8.0.0
with: with:
version: v2.4.0 # renovate: datasource=github-releases depName=golangci/golangci-lint version: v2.3.1 # renovate: datasource=github-releases depName=golangci/golangci-lint

View File

@ -26,7 +26,7 @@ jobs:
GITEA_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} GITEA_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
GONOSUMDB: ${{ vars.GONOSUMDB }} GONOSUMDB: ${{ vars.GONOSUMDB }}
GOPROXY: ${{ vars.GOPROXY }} GOPROXY: ${{ vars.GOPROXY }}
uses: goreleaser/goreleaser-action@v6.4.0 uses: goreleaser/goreleaser-action@v6.3.0
with: with:
version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser
args: release --clean args: release --clean

View File

@ -37,7 +37,6 @@ func (c *Collector) collectFileContents() {
} }
fullPath := filepath.Join(c.folderPath, fileName) fullPath := filepath.Join(c.folderPath, fileName)
// #nosec G304
content, err := os.ReadFile(fullPath) content, err := os.ReadFile(fullPath)
if err != nil { if err != nil {
c.appendErrorForPath(fileName) c.appendErrorForPath(fileName)

2
go.mod
View File

@ -2,7 +2,7 @@ module git.cryptic.systems/volker.raschek/prometheus-fail2ban-exporter
go 1.23.0 go 1.23.0
toolchain go1.25.0 toolchain go1.24.6
require ( require (
github.com/alecthomas/kong v1.12.1 github.com/alecthomas/kong v1.12.1