Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

Cached binaries should be invalidated on Go version changes #90

@stk0vrfl0w

Description

@stk0vrfl0w

The gobin cache for a given binary isn't invalidated when the version of Go has changed. In practice, this leads to issues when the compilation behavior differs.

As a concrete example, module builds of swagger-go @ 0.20.1 with go 1.12 results in a perfectly fine working binary whereas go 1.13 creates a binary that throws stack traces when trying to generate models. Due to gobin's current caching behavior, one may be lead to falsely believe that the go 1.13 toolchain works fine for building the 0.20.1 version of swagger-go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions