mirror of
https://github.com/github/codeql.git
synced 2026-03-06 15:49:08 +01:00
36 lines
779 B
YAML
36 lines
779 B
YAML
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
|