Update golangci-lint.yml

This commit is contained in:
xuan 2024-04-23 16:43:11 +08:00 committed by GitHub
parent ae5b7d7fca
commit 5bf7eb8308
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,13 @@ jobs:
go-version: '1.21' go-version: '1.21'
cache: false cache: false
- name: OpenIM Scripts Verification(make verify) - name: OpenIM Scripts Verification(make verify)
run: sudo make verify run: |
cd scripts
for script in verify-*; do
if [ -x "$script" ]; then
./"$script"
fi
done
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v4.0.0 uses: golangci/golangci-lint-action@v4.0.0
with: with: