Add support for extra fieldspecs in configurations for Labels #6521
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 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.19.0' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Lint | |
run: make lint | |
- name: Verify boilerplate | |
run: make check-license | |
test-linux: | |
name: Test Linux | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.19.0' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Test all modules | |
run: make test-unit-non-plugin | |
env: | |
KUSTOMIZE_DOCKER_E2E: true | |
test-macos: | |
name: Test MacOS | |
runs-on: [macos-latest] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.19.0' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Test all modules | |
run: make test-unit-non-plugin | |
env: | |
KUSTOMIZE_DOCKER_E2E: false # docker not installed on mac | |
test-windows: | |
name: Test Windows | |
runs-on: [windows-latest] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.19.0' | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Test kyaml | |
run: go test -cover ./... | |
working-directory: ./kyaml | |
- name: Test cmd/config | |
run: go test -cover ./... | |
working-directory: ./cmd/config | |
env: | |
KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet | |
# TODO (#4001): replace specific modules above with this once Windows tests are passing. | |
#- name: Test all modules | |
# run: make test-unit-non-plugin | |
# env: | |
# KUSTOMIZE_DOCKER_E2E: false # docker on windows not working well yet |