K8SPS-548 resolve gr-self-healing test failures #4544
Workflow file for this run
This file contains hidden or 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: reviewdog | |
| on: [pull_request] | |
| jobs: | |
| golangci-lint: | |
| name: runner / suggester / golangci-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '^1.25' | |
| - uses: actions/checkout@v5 | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: latest | |
| only-new-issues: true | |
| args: --timeout 5m | |
| gofmt: | |
| name: runner / suggester / gofmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go") | |
| - uses: reviewdog/[email protected] | |
| with: | |
| tool_name: gofmt | |
| shfmt: | |
| name: runner / suggester / shfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '^1.25' | |
| - run: go install mvdan.cc/sh/v3/cmd/shfmt@latest | |
| - run: $(go env GOPATH)/bin/shfmt -f . | grep -v 'vendor' | xargs $(go env GOPATH)/bin/shfmt -bn -ci -s -w | |
| - name: suggester / shfmt | |
| uses: reviewdog/[email protected] | |
| with: | |
| tool_name: shfmt | |
| shellcheck: | |
| if: github.event_name == 'pull_request' | |
| name: runner / shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: reviewdog/action-shellcheck@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-pr-check | |
| shellcheck_flags: -e SC2155 | |
| exclude: "./vendor/*" | |
| misspell: | |
| name: runner / misspell | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: reviewdog/action-misspell@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| locale: "US" | |
| reporter: github-pr-check | |
| exclude: "./vendor/*" | |
| alex: | |
| name: runner / alex | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: reviewdog/action-alex@v1 | |
| with: | |
| github_token: ${{ secrets.github_token }} | |
| reporter: github-pr-review | |
| level: info | |
| manifests: | |
| name: runner / manifests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '^1.25' | |
| - name: check on release branch | |
| if: ${{ contains(github.base_ref, 'release-') }} | |
| run: | | |
| make generate manifests VERSION="$(grep -Eo "[0-9]+\.[0-9]+\.[0-9]+" pkg/version/version.txt)" IMAGE_TAG_BASE="percona/percona-server-mysql-operator" | |
| git diff --exit-code | |
| - name: check on non release branches | |
| if: ${{ ! contains(github.base_ref, 'release-') }} | |
| run: | | |
| make generate manifests VERSION=main | |
| git diff --exit-code |