Add go operator #75
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: Kubelinter-check | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- docs/** | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
env: | |
KUBELINTER_VERSION: "143183121" | |
jobs: | |
Kubelinter-check: | |
name: Run Kube-linter check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Scan directory ./config/crd/ with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: config/crd | |
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml | |
version: $KUBELINTER_VERSION | |
- name: Scan directory ./config/default/ with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: config/default | |
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml | |
version: $KUBELINTER_VERSION | |
- name: Scan directory ./config/manager/ with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: config/manager | |
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml | |
version: $KUBELINTER_VERSION | |
- name: Scan directory ./config/manifests/ with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: config/manifests | |
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml | |
version: $KUBELINTER_VERSION | |
- name: Scan directory ./config/samples/ with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: config/samples | |
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml | |
version: $KUBELINTER_VERSION | |
- name: Scan directory ./config/scorecard/ with kube-linter | |
uses: stackrox/[email protected] | |
with: | |
directory: config/scorecard | |
config: ${GITHUB_WORKSPACE}/.github/config_files/config_lint.yaml | |
version: $KUBELINTER_VERSION |