Using the action with multi-module workspaces #873
              
                Unanswered
              
          
                  
                    
                      matthewhughes-uw
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| I've found a way to do this, for example with a step like:       - name: 'Lint'
        uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
        with:
          version: 'v1.56.2'
          args: '-v $(go list -f ''{{.Dir}}/...'' -m | xargs)'Which does the equivalent of  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm working in a repo that uses multi-module workspaces and was wondering if there's any support for such a setup with this action?
For some context, to run locally list the local modules (from
go.work) and pass their paths togolangci-lint run:Beta Was this translation helpful? Give feedback.
All reactions