Failed to load package goarch: could not load export data: internal error in importing \"internal/goarch\" #1184
              
                
                  
                  
                    Answered
                  
                  by
                    ldez
                  
              
          
                  
                    
                      martiriera
                    
                  
                
                  asked this question in
                Q&A
              
            -
| Welcome
 Description of the problemI'm trying to use the Simple example on https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#how-to-use and I get this error: I found this old related issue but it's closed and I think it's already out of date. Thanks in advance. Full logs here: Version of golangci-lintgolangci-lint-1.60.3-linux-amd64 Version of the GitHub Actiongolangci/golangci-lint-action@v6 Workflow filename: Pre-Merge
on:
  pull_request:
    branches:
      - main
permissions:
  contents: read
  # Optional: allow read access to pull request. Use with `only-new-issues` option.
  # pull-requests: read
jobs:
  golangci:
    name: Lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version: stable
      - name: golangci-lint
        uses: golangci/golangci-lint-action@v6
        with:
          version: v1.60
  test:
    name: Test
    needs: golangci
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version: stable
      - name: Run tests
        run: go test -v ./...
Golangci-lint configurationNone Go version1.23.4 Code example or link to a public repository | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            ldez
          
      
      
        Feb 22, 2025 
      
    
    Replies: 1 comment 1 reply
-
| Hello, you should update the golangci-lint version:         uses: golangci/golangci-lint-action@v6
        with:
          version: v1.64 | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        martiriera
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hello,
you should update the golangci-lint version:
uses: golangci/golangci-lint-action@v6 with: version: v1.64