Commit 7ee0f59
chendelin1982
fix(ci): add version: 2 to .golangci.yml for v2.x compatibility
- Add explicit 'version: 2' field at top of config
- Required by golangci-lint v2.7.2
- Update compatibility comment v1.64+ → v2.7.2
Error fixed:
unsupported version of the configuration: ""
v2.x requires explicit version declaration in config file
Related: Story 5 CI/CD Pipeline1 parent 9ed6cf5 commit 7ee0f59
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
0 commit comments