[chore] Upgrade golangci and fix lint issues (#36908) #16459
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: shellcheck | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
permissions: {} | |
jobs: | |
shellcheck: | |
name: shellcheck | |
runs-on: ubuntu-24.04 | |
env: | |
VERSION: v0.10.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: shellcheck workflow-scripts | |
uses: ludeeus/[email protected] | |
env: | |
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086 | |
with: | |
scandir: ".github/workflows/scripts" | |
severity: warning | |
version: ${{ env.VERSION }} | |
- name: shellcheck buildscripts | |
uses: ludeeus/[email protected] | |
env: | |
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086 | |
with: | |
scandir: "internal/buildscripts" | |
severity: warning | |
version: ${{ env.VERSION }} |