Skip to content

issue when running osv-scanner on project running with golang 1.22  #1123

@felangga

Description

@felangga

Hello, I have some issues with my project which uses golang v1.22.5.
On the CI, I'm pulling the latest version of OSV-scanner from ghcr.io.

osv-scanner:
    runs-on: xxx
    container: ghcr.io/google/osv-scanner:v1.8.2
        ....

I got this error when running the osv-scanner, does it because the osv-scanner was built using go v1.21?

This application uses version go1.21 of the source-processing packages but runs version go1.22 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions