Compare commits

...

2 Commits

Author SHA1 Message Date
a871468f68 chore(deps): update actions/checkout action to v5
Some checks failed
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Failing after 2s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Failing after 2s
Markdown linter / markdown-lint (push) Failing after 2s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (pull_request) Failing after 3s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (pull_request) Failing after 2s
Markdown linter / markdown-lint (pull_request) Failing after 2s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Failing after 5s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Failing after 3s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (pull_request) Failing after 3s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (pull_request) Failing after 4s
2025-08-11 22:06:55 +00:00
f819510340 chore(deps): update golangci lint to v2
All checks were successful
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 7s
Markdown linter / markdown-lint (push) Successful in 3s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 18s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 40s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 1m22s
2025-08-11 22:18:40 +02:00
7 changed files with 19 additions and 30 deletions

View File

@ -15,7 +15,7 @@ jobs:
go: [ stable ]
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v5.0.0
- uses: actions/setup-go@v5.5.0
with:
go-version: ${{ matrix.go }}

View File

@ -18,7 +18,7 @@ jobs:
go: [ stable ]
os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v5.0.0
- uses: actions/setup-go@v5.5.0
with:
go-version: ${{ matrix.go }}

View File

@ -13,7 +13,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v5.0.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'

View File

@ -12,7 +12,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v5.0.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: actions/setup-go@v5.5.0
with:

View File

@ -11,7 +11,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: actions/checkout@v5.0.0
- uses: peter-evans/dockerhub-description@v4.0.2
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}

View File

@ -1,27 +1,13 @@
run:
timeout: 10m
tests: true
version: "2"
linters:
disable-all: true
default: standard
enable:
# Default
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- errname
- gosec
# Additionally linters
- bodyclose
- misspell
- nilerr
- rowserrcheck
- sqlclosecheck
- unparam
- whitespace
exclusions:
rules: []
warn-unused: true
run:
tests: true

View File

@ -36,5 +36,8 @@ func main() {
log.Fatalf("failed to find gateway for ip: %v", err.Error())
}
fmt.Fprintln(os.Stdout, prefferedSrc.String())
_, err = fmt.Fprintln(os.Stdout, prefferedSrc.String())
if err != nil {
log.Fatalf("failed to print gateway on stdout: %v", err.Error())
}
}