Go / configure-baseline: account for multiple vendor directories and the CODEQL_EXTRACTOR_GO_EXTRACT_VENDOR_DIRS
setting
#689
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Go: Run Tests - Other OS" | |
on: | |
pull_request: | |
paths: | |
- "go/**" | |
- "!go/ql/**" # don't run other-os if only ql/ files changed | |
- .github/workflows/go-tests-other-os.yml | |
- .github/actions/** | |
- codeql-workspace.yml | |
- MODULE.bazel | |
- .bazelrc | |
- misc/bazel/** | |
permissions: | |
contents: read | |
jobs: | |
test-mac: | |
name: Test MacOS | |
runs-on: macos-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Run tests | |
uses: ./go/actions/test | |
test-win: | |
if: github.repository_owner == 'github' | |
name: Test Windows | |
runs-on: windows-latest-xl | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Run tests | |
uses: ./go/actions/test |