Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(CI): fix golangci-lint check error #695

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/static-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,14 @@
repository: kuchune/check-tools
sparse-checkout: staticCheck/golangci.yml
sparse-checkout-cone-mode: false
path: staticCheck
- if: hashFiles('.golangci.yml') == ''
run: mv staticCheck/golangci.yml .golangci.yml
run: mv staticCheck/staticCheck/golangci.yml .golangci.yml
- name: GolangCILint Check
uses: golangci/golangci-lint-action@v6
with:
version: v1.58
only-new-issues: true
Call-CppCheck:
runs-on: ubuntu-latest
needs: Get-Config
Expand All @@ -102,7 +104,7 @@
runs-on: ubuntu-latest
needs: Get-Config
if: needs.Get-Config.outputs.isShell == 'true'
steps:

Check warning on line 107 in .github/workflows/static-check.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

107:11 [trailing-spaces] trailing spaces
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -111,3 +113,3 @@
- uses: ludeeus/action-shellcheck@master
with:
severity: error
Expand Down
Loading