-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dev/K8SPSMDB-791
- Loading branch information
Showing
29 changed files
with
814 additions
and
439 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ jobs: | |
name: runner / suggester / golangci-lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
|
@@ -17,7 +17,7 @@ jobs: | |
name: runner / suggester / gofmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go") | ||
- uses: reviewdog/action-suggester@v1 | ||
with: | ||
|
@@ -27,8 +27,8 @@ jobs: | |
name: runner / suggester / shfmt | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/setup-go@v3 | ||
- uses: actions/[email protected].3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '^1.17' | ||
- run: go install mvdan.cc/sh/v3/cmd/shfmt@latest | ||
|
@@ -43,7 +43,7 @@ jobs: | |
name: runner / shellcheck | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- uses: reviewdog/action-shellcheck@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
|
@@ -54,7 +54,7 @@ jobs: | |
name: runner / misspell | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- uses: reviewdog/action-misspell@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
|
@@ -66,7 +66,7 @@ jobs: | |
name: runner / alex | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- uses: reviewdog/action-alex@v1 | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
- name: Build an image from Dockerfile | ||
run: | | ||
export IMAGE=perconalab/percona-server-mongodb-operator:${{ github.sha }} | ||
export DOCKER_PUSH=0 | ||
export DOCKER_SQUASH=0 | ||
./e2e-tests/build | ||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/trivy-action@0.10.0 | ||
uses: aquasecurity/trivy-action@0.11.2 | ||
with: | ||
image-ref: 'docker.io/perconalab/percona-server-mongodb-operator:${{ github.sha }}' | ||
format: 'table' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ jobs: | |
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: '^1.19' | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
- name: go test | ||
run: go test -v ./... |
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
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
Oops, something went wrong.