Skip to content

docs(security): point endpoint + credential docs at the real controls (#299, #251) #792

docs(security): point endpoint + credential docs at the real controls (#299, #251)

docs(security): point endpoint + credential docs at the real controls (#299, #251) #792

Workflow file for this run

name: Tests
on:
push:
branches: [main]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'config/crd/**'
- 'config/manager/**'
- 'bundle/manifests/ntn-operators.clusterserviceversion.yaml'
- 'hack/**'
- 'Makefile'
- '.github/workflows/**'
pull_request:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'config/crd/**'
- 'config/manager/**'
- 'bundle/manifests/ntn-operators.clusterserviceversion.yaml'
- 'hack/**'
- 'Makefile'
- '.github/workflows/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Unit + envtest
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- name: Cache envtest binaries
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: bin/k8s
key: envtest-${{ runner.os }}-${{ hashFiles('Makefile', 'go.mod', 'go.sum') }}
- name: Run tests
run: make test
race:
name: Race detector (controllers + pkg)
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- name: Cache envtest binaries
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: bin/k8s
key: envtest-${{ runner.os }}-${{ hashFiles('Makefile', 'go.mod', 'go.sum') }}
# The two-write pass-cadence split (#234) and the interceptor-driven concurrency tests
# (slow-sweep cancel, completion-time stamp) are exercised under -race so a data race in the
# reconcile→status-write path fails CI rather than flaking in production.
- name: Run race tests
run: make test-race