Skip to content

tests: add tests and GHA workflow #9

tests: add tests and GHA workflow

tests: add tests and GHA workflow #9

Triggered via pull request October 25, 2023 20:14
@shepherdjerredshepherdjerred
synchronize #1
sj/tests
Status Failure
Total duration 1m 24s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 5 warnings
[golangci] parse_test.go#L176: parse_test.go#L176
func `normalizeTwineMetadata` is unused (unused)
[golangci] parse_test.go#L191: parse_test.go#L191
func `normalizeParserMetadata` is unused (unused)
test: parse_test.go#L275
parse_test.go:275: Error Trace: /home/runner/work/python-distribution-parser/python-distribution-parser/parse_test.go:275 Error: Received unexpected error: exit status 1 Test: TestParse
test: archiver/archive_reader.go#L75
Error return value of `t.resetReader` is not checked (errcheck)
test: distributions/distribution.go#L210
Error return value of `bd.setJSONValue` is not checked (errcheck)
test: distributions/distribution.go#L212
Error return value of `bd.setJSONValue` is not checked (errcheck)
test: distributions/distribution.go#L223
Error return value of `bd.setJSONValue` is not checked (errcheck)
test: packages/package.go#L59
Error return value of `hashManager.Hash` is not checked (errcheck)
test: parse.go#L69
Error return value of `packageFile.AddGPGSignature` is not checked (errcheck)
test: parse_test.go#L176
func `normalizeTwineMetadata` is unused (unused)
test: parse_test.go#L191
func `normalizeParserMetadata` is unused (unused)
test
Process completed with exit code 1.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, guyarb/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/