|
Ran
|
Jobs
1
|
Files
20
|
Run time
1min
|
Badge
README BADGES
|
push
github
Refactoring (#325) * Refactor core * Re-added tests * Small fixes * Add tests for acmetxt cidrslice and util funcs * Remove the last dangling reference to old logging package * Refactoring (#327) * chore: enable more linters and fix linter issues * ci: enable linter checks on all branches and disable recurring checks recurring linter checks don't make that much sense. The code & linter checks should not change on their own over night ;) * chore: update packages * Revert "chore: update packages" This reverts commit 30250bf28. * chore: manually upgrade some packages * Updated dependencies, wrote changelog entry and fixed namespace for release * Refactoring - improving coverage (#371) * Increase code coverage in acmedns * More testing of ReadConfig() and its fallback mechanism * Found that if someone put a '"' double quote into the filename that we configure zap to log to, it would cause the the JSON created to be invalid. I have replaced the JSON string with proper config * Better handling of config options for api.TLS - we now error on an invalid value instead of silently failing. added a basic test for api.setupTLS() (to increase test coverage) * testing nameserver isOwnChallenge and isAuthoritative methods * add a unit test for nameserver answerOwnChallenge * fix linting errors * bump go and golangci-lint versions in github actions * Update golangci-lint.yml Bumping github-actions workflow versions to accommodate some changes in upstream golanci-lint * Bump Golang version to 1.23 (currently the oldest supported version) Bump golanglint-ci to 2.0.2 and migrate the config file. This should resolve the math/rand/v2 issue * bump golanglint-ci action version * Fixing up new golanglint-ci warnings and errors --------- Co-authored-by: Joona Hoikkala <5235109+joohoi@users.noreply.github.com> * Minor refactoring, error returns and e2e testing suite * Add a few tests * Fix linter an... (continued)
582 of 764 new or added lines in 20 files covered. (76.18%)
3 existing lines in 1 file now uncovered.797 of 1032 relevant lines covered (77.23%)
7.16 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
99.2 |
pkg/nameserver/handler.go | |
| 3 |
0.0 |
umask_unix.go | |
| 5 |
89.36 |
pkg/api/register.go | |
| 9 |
77.5 |
pkg/api/update.go | |
| 14 |
81.68 |
pkg/database/db.go | |
| 18 |
0.0 |
0.0% | main.go |
| 55 |
17.91 |
pkg/nameserver/initialize.go | |
| 77 |
26.67 |
pkg/api/api.go |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
0.0 |
0.0% | main.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 21714519299.1 | 20 |
77.23 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|