Skip to content

Only use internalTrafficPolicy: if on Kubernetes vesrion 1.26 or later #16820

Only use internalTrafficPolicy: if on Kubernetes vesrion 1.26 or later

Only use internalTrafficPolicy: if on Kubernetes vesrion 1.26 or later #16820

Workflow file for this run

name: Test
on:
# Run tests on main just so the module and build cache can be saved and used
# in PRs. This speeds up the time it takes to test PRs dramatically.
# (More information on https://docs.github.com/en/[email protected]/actions/using-workflows/caching-dependencies-to-speed-up-workflows)
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
strategy:
matrix:
platform: [macos-latest-xlarge]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: true
- name: Test
run: make GO_TAGS="nodocker" test