Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Bad parsing of cargo audit results in warnings being undefined #213

Open
@eutampieri

Description

@eutampieri

Do the checklist before filing an issue:

Description

The workflow errors with Error: t is not iterable

Workflow code

https://github.com/MyK00L/cmsrs/actions/runs/1156620794/workflow

Paste that part of your workflow yaml file that causes the bug in here.

Alternatively you can remove that code block and insert direct link to your workflow file.
Ensure that link points to the specific commit, and not just to the master branch.

Action output


  {"database":{"advisory-count":340,"last-commit":"101d914e049f02bf7527aabbc32556461b2d5a46","last-updated":"2021-08-22T09:43:52Z"},"lockfile":{"dependency-count":201},"settings":{"target_arch":null,"target_os":null,"severity":null,"ignore":[],"informational_warnings":["unmaintained"],"package_scope":null},"vulnerabilities":{"found":false,"count":0,"list":[]},"warnings":{}}
9
No vulnerabilities were found
10
Warning: undefined warnings found!
11
Error: t is not iterable

Expected behavior

The test passes

Additional context

i think it may be related to the workaround for audit <0.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions