Compare commits

1 Commits

Author SHA1 Message Date
ca294e3091 chore(deps): update goreleaser/goreleaser-action action to v7.2.1
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 17s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 16s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 6s
Lint Markdown files / Run markdown linter (pull_request) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Has been cancelled
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Has been cancelled
2026-04-27 09:07:00 +00:00
3 changed files with 3 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- uses: docker/setup-qemu-action@v4.0.0
- uses: docker/setup-qemu-action@v3.7.0
- uses: actions/setup-go@v6.4.0
with:
go-version: stable

View File

@@ -9,10 +9,5 @@ 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())
}
_, _, preferredSrc, err := router.Route(ip)
_, _, prefferedSrc, err := router.Route(ip)
if err != nil {
log.Fatalf("failed to find gateway for ip: %v", err.Error())
}
_, err = fmt.Fprintln(os.Stdout, preferredSrc.String())
_, err = fmt.Fprintln(os.Stdout, prefferedSrc.String())
if err != nil {
log.Fatalf("failed to print gateway on stdout: %v", err.Error())
}