Compare commits

12 Commits

Author SHA1 Message Date
253e5bb3f9 Merge pull request 'chore(deps): update docker/setup-qemu-action action to v4' (#85) from renovate/docker-setup-qemu-action-4.x into master
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 7s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 25s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 17s
2026-04-29 00:06:54 +00:00
a019521255 chore(deps): update docker/setup-qemu-action action to v4
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 19s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 25s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 8s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 18s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 17s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 9s
Lint Markdown files / Run markdown linter (pull_request) Successful in 6s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 27s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 18s
2026-04-28 21:21:11 +00:00
ce636a4d7e Merge pull request 'chore(deps): update goreleaser/goreleaser-action action to v7.2.1' (#90) from renovate/actions into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 20s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 10s
Lint Markdown files / Run markdown linter (push) Successful in 6s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 29s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 17s
2026-04-28 18:44:55 +00:00
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
86dc3b1c53 chore(deps): update actions
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 Markdown files / Run markdown linter (push) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 38s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 16s
2026-04-21 15:04:04 +00:00
cedfc2ce4c chore(deps): update dependency golangci/golangci-lint to v2.11.4
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 18s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Failing after 5s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 1m10s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Failing after 13s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Has been cancelled
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Has been cancelled
Lint Markdown files / Run markdown linter (push) Has been cancelled
2026-04-14 10:58:44 +00:00
6a58b18803 chore(deps): update dependency golangci/golangci-lint to v2.11.2
Some checks failed
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 11s
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
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Failing after 31s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 19s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 11s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 6s
Lint Markdown files / Run markdown linter (push) Successful in 5s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Failing after 33s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 20s
2026-03-09 07:45:01 +00:00
88bf0cbba5 Merge pull request 'chore(deps): update docker/login-action action to v4' (#86) from renovate/docker-login-action-4.x into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 12s
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 33s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 18s
2026-03-09 07:44:52 +00:00
045d8be48c chore(deps): update docker/login-action action to v4
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 12s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 6s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 11s
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) Successful in 35s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 17s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 35s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 18s
2026-03-08 08:05:12 +00:00
0012ea589e Merge pull request 'chore(deps): update dependency goreleaser/goreleaser to v2.14.2' (#87) from renovate/actions into master
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 12s
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 35s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 19s
2026-03-08 05:20:40 +00:00
c58ae737a9 chore(deps): update dependency goreleaser/goreleaser to v2.14.2
All checks were successful
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 15s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 12s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 7s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 7s
Lint Markdown files / Run markdown linter (pull_request) Successful in 4s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Successful in 40s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Successful in 36s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Successful in 18s
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Successful in 18s
2026-03-08 05:05:23 +00:00
5 changed files with 15 additions and 10 deletions

View File

@@ -21,9 +21,9 @@ jobs:
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-go@v6.3.0
- uses: actions/setup-go@v6.4.0
with:
go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v9.2.0
with:
version: v2.9.0 # renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.11.4 # renovate: datasource=github-releases depName=golangci/golangci-lint

View File

@@ -34,7 +34,7 @@ jobs:
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/setup-go@v6.3.0
- uses: actions/setup-go@v6.4.0
with:
go-version: ${{ matrix.go }}
- env:

View File

@@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- uses: docker/setup-qemu-action@v3.7.0
- uses: actions/setup-go@v6.3.0
- uses: docker/setup-qemu-action@v4.0.0
- uses: actions/setup-go@v6.4.0
with:
go-version: stable
- uses: docker/login-action@v3.7.0
- uses: docker/login-action@v4.1.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
@@ -26,9 +26,9 @@ jobs:
GITEA_TOKEN: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
GONOSUMDB: ${{ vars.GONOSUMDB }}
GOPROXY: ${{ vars.GOPROXY }}
uses: goreleaser/goreleaser-action@v7.0.0
uses: goreleaser/goreleaser-action@v7.2.1
with:
version: v2.14.1 # renovate: datasource=github-releases depName=goreleaser/goreleaser
version: v2.15.4 # renovate: datasource=github-releases depName=goreleaser/goreleaser
args: release --clean
sync-to-hub-docker-io:

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())
}