Skip to content

Commit 0ae9c21

Browse files
yoheiuedaQi Feng Huo
authored and
Qi Feng Huo
committed
ci: Enable lint checks for csi-wrapper
This patch enables the golangci-lint checks for csi-wrapper. The version of golangci-lint is bumped to v1.52.2, since the old version has a bug when processing the --prefix-path option, which is necessary to run the lint tool in sub modules. golangci/golangci-lint#3571 Signed-off-by: Yohei Ueda <[email protected]>
1 parent 0291c50 commit 0ae9c21

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/lint.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# (C) Copyright Red Hat 2022.
2-
# SPDX-License-Identifier: Apache-2.0
1+
# (C) Copyright Confidential Containers Contributors
2+
# # SPDX-License-Identifier: Apache-2.0
33
#
44
# Run linting tools on the sources of the project.
55
---
@@ -20,6 +20,7 @@ jobs:
2020
- .
2121
- peerpod-ctrl
2222
- peerpodconfig-ctrl
23+
- volumes/csi-wrapper
2324
- webhook
2425
steps:
2526
- name: Checkout the pull request code
@@ -38,7 +39,7 @@ jobs:
3839
working-directory: ${{ matrix.workdir }}
3940
args: --path-prefix=${{ matrix.workdir }}
4041
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
41-
version: v1.51.1
42+
version: v1.52.2
4243

4344
go_check:
4445
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)