feat(missions): self-hosted semantic search over the knowledge base #3511
Workflow file for this run
This file contains hidden or 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: Cross-Platform Build | |
| # Cross-platform Go build matrix (ubuntu / windows / macos). | |
| # | |
| # Background: kubestellar/console#6361 — contributors on Windows and macOS | |
| # hit regressions that only show up on those platforms (path separators, | |
| # platform-specific files like pkg/agent/restart_unix.go vs restart_windows.go). | |
| # | |
| # Strategy: | |
| # - Always run ubuntu-latest (the baseline). Required on PRs. | |
| # - Also run windows-latest and macos-latest with continue-on-error: true. | |
| # These are BEST-EFFORT smoke checks so cross-platform breakage is VISIBLE | |
| # in PR checks but NOT BLOCKING. Once the tree is clean on all three, we | |
| # can flip continue-on-error off and make them required. | |
| # - Only builds (no full test suite) to keep runtime minimal. | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.go' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - '.github/workflows/cross-platform-build.yml' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.go' | |
| - 'go.mod' | |
| - 'go.sum' | |
| - '.github/workflows/cross-platform-build.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| # Windows/macOS are best-effort for now (see header comment). | |
| # Ubuntu is the authoritative gate and must not continue-on-error. | |
| continue-on-error: ${{ matrix.os != 'ubuntu-latest' }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: go build | |
| run: go build ./... | |
| - name: go vet | |
| run: go vet ./... |