Skip to content

Running error: buildir: failed to load package goarch: could not load export data #434

@wonderflow

Description

@wonderflow

It caused error running golangci lint action https://github.com/oam-dev/kubevela/runs/5775307395?check_suite_focus=true

It just happened last night.

My environment:

Run golangci/golangci-lint-action@v2
  with:
    version: v1.3.8
    github-token: ***
    only-new-issues: false
    skip-go-installation: false
    skip-pkg-cache: false
    skip-build-cache: false
  env:
    GO_VERSION: 1.17
    GOLANGCI_VERSION: v1.38
    KIND_VERSION: v0.7.0
prepare environment

The error message:

  level=warning msg="[runner] Can't run linter unused: buildir: failed to load package goarch: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool"
  level=error msg="Running error: buildir: failed to load package goarch: could not load export data: cannot import \"internal/goarch\" (unknown iexport format version 2), export data is newer version - update tool"

Are there any solution for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedupstreamrelated the golangci-lint but not to the action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions