Skip to content

Commit

Permalink
increase golint timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Oct 11, 2024
1 parent e1a9700 commit 6eeaf05
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/golint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- uses: golangci/golangci-lint-action@v2
with:
version: 'v1.54'
args: -v
args: -v --timeout=10m
13 changes: 13 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main

import (
"fmt"
"path/filepath"
"testing"
)

func TestName(t *testing.T) {
input := "\\path\\to\\file"
output := filepath.FromSlash(input)
fmt.Println(output)
}

0 comments on commit 6eeaf05

Please sign in to comment.