Compare commits

...

2 Commits

Author SHA1 Message Date
d74424c32a chore(deps): update docker/login-action action to v3.5.0
All checks were successful
Golang Tests / unittest (stable, ubuntu-latest-amd64) (push) Successful in 5s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (push) Successful in 10s
Golang Tests / unittest (stable, ubuntu-latest-amd64) (pull_request) Successful in 5s
Markdown linter / markdown-lint (push) Successful in 23s
Golang CI lint / golangci (stable, ubuntu-latest-amd64) (pull_request) Successful in 10s
Markdown linter / markdown-lint (pull_request) Successful in 24s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (push) Successful in 18s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (push) Successful in 32s
Golang Tests / unittest (stable, ubuntu-latest-arm64) (pull_request) Successful in 18s
Golang CI lint / golangci (stable, ubuntu-latest-arm64) (pull_request) Successful in 32s
2025-08-11 22:06:48 +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
3 changed files with 15 additions and 26 deletions

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-go@v5.5.0 - uses: actions/setup-go@v5.5.0
with: with:
go-version: stable go-version: stable
- uses: docker/login-action@v3.4.0 - uses: docker/login-action@v3.5.0
with: with:
registry: git.cryptic.systems registry: git.cryptic.systems
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}

View File

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

View File

@ -36,5 +36,8 @@ func main() {
log.Fatalf("failed to find gateway for ip: %v", err.Error()) 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())
}
} }