-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6208 from Algo-devops-service/relbeta4.0.0
- Loading branch information
Showing
212 changed files
with
13,948 additions
and
1,701 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
name: "ReviewDog workflow" | ||
env: | ||
GOLANGCI_LINT_VERSION: "v1.62.0" | ||
on: | ||
push: | ||
branches: | ||
|
@@ -17,15 +19,15 @@ jobs: | |
- name: Make libsodium.a | ||
run: sudo mv /usr/bin/go /usr/bin/go.bak && make crypto/libs/linux/amd64/lib/libsodium.a && sudo mv /usr/bin/go.bak /usr/bin/go | ||
- name: reviewdog-golangci-lint | ||
uses: reviewdog/action-golangci-lint@v2.6.2 | ||
uses: reviewdog/action-golangci-lint@v2.7.0 | ||
with: | ||
go_version_file: go.mod | ||
golangci_lint_version: "v1.62.0" | ||
golangci_lint_version: ${{ env.GOLANGCI_LINT_VERSION }} | ||
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners" | ||
reporter: "github-pr-check" | ||
tool_name: "Lint Errors" | ||
level: "error" | ||
fail_on_error: true | ||
fail_level: any | ||
filter_mode: "nofilter" | ||
# Non-Blocking Warnings Section | ||
reviewdog-warnings: | ||
|
@@ -56,20 +58,20 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: cicdtmp/golangci-lint/golangci-lint-cgo | ||
key: cicd-golangci-lint-cgo-v0.0.2-${{ env.GO_VERSION }} | ||
key: cicd-golangci-lint-cgo-v0.0.3-${{ env.GO_VERSION }}-${{ env.GOLANGCI_LINT_VERSION }} | ||
|
||
- name: Build custom golangci-lint with CGO_ENABLED | ||
if: steps.cache-golangci-lint.outputs.cache-hit != 'true' | ||
run: | | ||
cd cicdtmp/golangci-lint | ||
git clone https://github.com/golangci/golangci-lint.git . | ||
git checkout tags/v1.62.0 | ||
git checkout tags/${GOLANGCI_LINT_VERSION} | ||
CGO_ENABLED=true go build -trimpath -o golangci-lint-cgo ./cmd/golangci-lint | ||
./golangci-lint-cgo --version | ||
cd ../../ | ||
- name: Install reviewdog | ||
run: | | ||
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/v0.20.2/install.sh | sh -s -- v0.20.2 | ||
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/v0.20.3/install.sh | sh -s -- v0.20.3 | ||
reviewdog --version | ||
- name: Build custom linters | ||
run: | | ||
|
@@ -92,9 +94,9 @@ jobs: | |
cat temp_golangci-lint-cgo.txt | reviewdog \ | ||
-f=golangci-lint \ | ||
-name="Lint Warnings" \ | ||
-reporter=github-check \ | ||
-reporter=github-pr-check \ | ||
-filter-mode=added \ | ||
-fail-on-error=true \ | ||
-fail-level=any \ | ||
-level=warning | ||
- name: Slack Notification | ||
env: | ||
|
@@ -107,11 +109,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: shellcheck | ||
uses: reviewdog/action-shellcheck@v1 | ||
uses: reviewdog/action-shellcheck@v1.28.0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: "github-pr-check" | ||
shellcheck_flags: "-e SC2034,SC2046,SC2053,SC2207,SC2145 -S warning" | ||
fail_on_error: true | ||
fail_level: any | ||
path: | | ||
test/scripts/e2e_subs |
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
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
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
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
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
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
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
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
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.