Introduce health sidecar to better integrate with PDB #171
Workflow file for this run
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: Golang Lint | |
on: [pull_request] | |
jobs: | |
golangci-lint: | |
name: golangci lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.work' | |
cache: false | |
- name: lint opensearch-operator | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.57 | |
working-directory: opensearch-operator | |
args: --timeout=6m --skip-dirs="(^|/)responses($|/)" -v | |
- name: lint operator-sidecar | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | |
version: v1.57 | |
working-directory: operator-sidecar | |
args: --timeout=6m -v |