Compare commits

...

2 Commits

Author SHA1 Message Date
e837015fbf chore(deps): update goreleaser/goreleaser-action action to v7.2.1
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 16s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 14s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 6s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (pull_request) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 25s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 29s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 17s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 19s
2026-04-28 09:07:27 +00:00
ce0ae6c6c7 fix(main): disable G706
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 17s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 6s
Lint Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 1m5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 36s
2026-04-28 10:43:22 +02:00
3 changed files with 8 additions and 3 deletions

View File

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

View File

@@ -9,5 +9,10 @@ linters:
rules: []
warn-unused: true
settings:
gosec:
excludes:
- G706
run:
tests: true

View File

@@ -31,12 +31,12 @@ func main() {
log.Fatalf("failed to get new routing instance: %v", err.Error())
}
_, _, prefferedSrc, err := router.Route(ip)
_, _, preferredSrc, err := router.Route(ip)
if err != nil {
log.Fatalf("failed to find gateway for ip: %v", err.Error())
}
_, err = fmt.Fprintln(os.Stdout, prefferedSrc.String())
_, err = fmt.Fprintln(os.Stdout, preferredSrc.String())
if err != nil {
log.Fatalf("failed to print gateway on stdout: %v", err.Error())
}