fix: updates encrypt and decrypt functions and tests #379
ci.yml
on: pull_request
runner / formatting
23s
runner / golangci-lint
13s
runner / yamllint
18s
runner / dotenv-linter
9s
Matrix: runner / build and tests
Annotations
4 errors
runner / golangci-lint:
pkg/security/encrypt_test.go#L53
[golangci] reported by reviewdog 🐶
unnecessary conversion (unconvert)
Raw Output:
pkg/security/encrypt_test.go:53:50: unnecessary conversion (unconvert)
encryptedString, err = cryptor.Encrypt(string(tc.message))
^
|
runner / golangci-lint:
pkg/security/encrypt_test.go#L62
[golangci] reported by reviewdog 🐶
unnecessary conversion (unconvert)
Raw Output:
pkg/security/encrypt_test.go:62:36: unnecessary conversion (unconvert)
_, err = cryptor.Encrypt(string(tc.message))
^
|
runner / golangci-lint:
pkg/security/decrypt_test.go#L169
[golangci] reported by reviewdog 🐶
ineffectual assignment to err (ineffassign)
Raw Output:
pkg/security/decrypt_test.go:169:22: ineffectual assignment to err (ineffassign)
encryptedString, err := cryptor.Encrypt(tc.message)
^
|
runner / golangci-lint
reviewdog exited with status code: 1
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
JUnit Results ubuntu-20.04-1.20.x-1
|
12.8 KB |
|
JUnit Results ubuntu-20.04-1.21.x-1
|
12.1 KB |
|
JUnit Results ubuntu-20.04-1.22.x-1
|
12.2 KB |
|
JUnit Results ubuntu-22.04-1.20.x-1
|
12.8 KB |
|
JUnit Results ubuntu-22.04-1.21.x-1
|
12.1 KB |
|
JUnit Results ubuntu-22.04-1.22.x-1
|
12.2 KB |
|
JUnit Results windows-2019-1.20.x-1
|
12.8 KB |
|
JUnit Results windows-2019-1.21.x-1
|
12.1 KB |
|
JUnit Results windows-2019-1.22.x-1
|
12.5 KB |
|
JUnit Results windows-2022-1.20.x-1
|
12.8 KB |
|
JUnit Results windows-2022-1.21.x-1
|
12.1 KB |
|
JUnit Results windows-2022-1.22.x-1
|
12.2 KB |
|