name: "Go: Custom queries"
description: "Checks that Go works in conjunction with a config file specifying custom queries"
collection: go
operatingSystems:
  - ubuntu
versions:
  - linked
  - nightly-latest
installGo: true
installDotNet: true
env:
  DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
steps:
  - uses: ./../action/init
    with:
      languages: go
      config-file: ./.github/codeql/custom-queries.yml
      tools: ${{ steps.prepare-test.outputs.tools-url }}
  - name: Build code
    run: ./build.sh
  - uses: ./../action/analyze
