Skip to content

Commit 4e6b23d

Browse files
committed
fix: file permissions for gosec compliance
1 parent 8825e39 commit 4e6b23d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@ jobs:
3333
- name: Download dependencies
3434
run: go mod download
3535

36-
- name: Run tests
36+
- name: Run tests (Unix)
37+
if: runner.os != 'Windows'
3738
run: go test -v -race -coverprofile=coverage.out ./...
3839

40+
- name: Run tests (Windows)
41+
if: runner.os == 'Windows'
42+
run: go test -v -race "-coverprofile=coverage.out" ./...
43+
3944
- name: Upload coverage
4045
uses: codecov/codecov-action@v5
4146
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.24.4'

0 commit comments

Comments
 (0)