1 Commits

Author SHA1 Message Date
9bc4c0460f chore(deps): update actions
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 26s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 23s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 15s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 8s
Lint Markdown files / Run markdown linter (pull_request) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 57s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 1m4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 36s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 16s
2026-04-21 14:10:28 +00:00
4 changed files with 5 additions and 10 deletions

View File

@@ -26,4 +26,4 @@ jobs:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v9.2.0 - uses: golangci/golangci-lint-action@v9.2.0
with: with:
version: v2.12.0 # renovate: datasource=github-releases depName=golangci/golangci-lint version: v2.11.4 # renovate: datasource=github-releases depName=golangci/golangci-lint

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v6.0.2 - 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 - uses: actions/setup-go@v6.4.0
with: with:
go-version: stable go-version: stable
@@ -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@v7.2.1 uses: goreleaser/goreleaser-action@v7.1.0
with: with:
version: v2.15.4 # renovate: datasource=github-releases depName=goreleaser/goreleaser version: v2.15.4 # renovate: datasource=github-releases depName=goreleaser/goreleaser
args: release --clean args: release --clean

View File

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

View File

@@ -31,12 +31,12 @@ func main() {
log.Fatalf("failed to get new routing instance: %v", err.Error()) log.Fatalf("failed to get new routing instance: %v", err.Error())
} }
_, _, preferredSrc, err := router.Route(ip) _, _, prefferedSrc, err := router.Route(ip)
if err != nil { if err != nil {
log.Fatalf("failed to find gateway for ip: %v", err.Error()) 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 { if err != nil {
log.Fatalf("failed to print gateway on stdout: %v", err.Error()) log.Fatalf("failed to print gateway on stdout: %v", err.Error())
} }