Skip to content

Commit 5d949a6

Browse files
committed
Run golangci-lint on MacOS and Windows
Signed-off-by: Oleksandr Redko <[email protected]>
1 parent 074eed6 commit 5d949a6

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ jobs:
163163
go-version: 1.24.x
164164
- name: Unit tests
165165
run: go test -v ./...
166+
- name: Run golangci-lint
167+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
168+
with:
169+
version: v2.1.0
170+
args: --verbose
166171
- name: Make
167172
run: make
168173
- name: Integration tests (WSL2, Windows host)
@@ -190,6 +195,11 @@ jobs:
190195
go-version: 1.24.x
191196
- name: Unit tests
192197
run: go test -v ./...
198+
- name: Run golangci-lint
199+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
200+
with:
201+
version: v2.1.0
202+
args: --verbose
193203
- name: Make
194204
run: make
195205
- name: Install

pkg/vz/vz_driver_darwin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ func (l *LimaVzDriver) RunGUI() error {
203203
if l.CanRunGUI() {
204204
return l.machine.StartGraphicApplication(1920, 1200)
205205
}
206-
//nolint:revive // error-strings
207206
return fmt.Errorf("RunGUI is not supported for the given driver '%s' and display '%s'", "vz", *l.Instance.Config.Video.Display)
208207
}
209208

0 commit comments

Comments
 (0)