title: Build command not found. 'go'
body: <pre class="lang-yaml prettyprint-override"><code>....
  jobs:
      setup:
      name: Setup
      runs-on: [self-hosted, Linux, X64]
      
  
      steps:
        - name: Set up Go 1.17
          uses: actions/setup-go@v2
          with:
            go-version: 1.17
            id: Go
  
        - name: work around permission issue
          run: git config --global --add safe.directory /__w/****-***/****-***
  
        - name: Checkout code into go module directory
          uses: actions/checkout@v2
  
        - name: Make Directory
          run: mkdir build
  
        - name: Build
          run: |
            CGO_ENABLED=0 go build -ldflags &quot;-linkmode external&quot; -o main
        - name: Upload Build
          uses: actions/upload-artifact@v2
          with:
            name: binary
            path: main
  
      scans :
      needs: setup
      name: all scans
      runs-on: [self-hosted, Linux, X64]
      steps:
        - name: Download build for build and test
          uses: actions/download-artifact@v2
          with:
            name: build
  
        - name: Coverity Scan
          env:
            AUTH_DATA: ${{ secrets.COVERITY_KEY_FILE }}
          run: |
            export PATH=$PATH:/opt/coverity/coverity-base/bin
            mkdir coverity
            cov-build --dir coverity go build main.go
            cov-analyze --dir coverity  --strip-path=`pwd`
            touch auth_key_file
            chmod 600 auth_key_file
            echo $( printf &quot;%s&quot; &quot;$AUTH_DATA&quot; ) &gt; auth_key_file
            cov-commit-defects --dir coverity  --url `suspicious_url`  --auth-key-file auth_key_file --stream ****-overrides
  
        - name: Upload Coverity
          uses: actions/upload-artifact@v2
          with:
            name: coverity
            path: coverity
  
  </code></pre>
  <p>I have this workflow file for my Golang project. I want to run the Coverity scan. But when I am running this it's throwing an error :</p>
  <p><a href="https://i.stack.imgur.com/Ppg7p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ppg7p.png" alt="Error" /></a></p>
  <p>I have set up go in <strong>setup</strong> step. I don't know why it is telling that it did not found the go command. Please help me with this.</p>