* PR Checks: use `macos-12` runners for CLI v. < 2.15.1 Prior to CLI v2.15.1, MacOS ARM runners were not supported by the build tracer. "macos-latest" is now an ARM runner, so we run these tests on the old CLIs on Intel runners instead. * Log a warning if SIP is disabled and CLI is < 2.15.1 * Add changenote for SIP-disabled support on old CLI versions * Set up Python 3.11 for all MacOS checks
19 lines
545 B
YAML
19 lines
545 B
YAML
name: "Go: Custom queries"
|
|
description: "Checks that Go works in conjunction with a config file specifying custom queries"
|
|
env:
|
|
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false"
|
|
steps:
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ">=1.21.0"
|
|
- uses: ./../action/init
|
|
with:
|
|
languages: go
|
|
config-file: ./.github/codeql/custom-queries.yml
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
- name: Build code
|
|
shell: bash
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze
|
|
with:
|
|
upload-database: false
|