Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fetch-depth: 1
- uses: WillAbides/[email protected]
with:
go-version: latest
go-version: stable
- name: Staticcheck
uses: dominikh/[email protected]
with:
Expand Down
7 changes: 6 additions & 1 deletion foo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
package pkg

import "time"

func Fn() {
}
time.Parse("123", "456")

Check failure on line 6 in foo.go

View workflow job for this annotation

GitHub Actions / CI

parsing time "123" as "123": cannot parse "" as "3" (SA1002)

Check failure on line 6 in foo.go

View workflow job for this annotation

GitHub Actions / CI

Parse doesn't have side effects and its return value is ignored (SA4017)

Check failure on line 6 in foo.go

View workflow job for this annotation

GitHub Actions / CI

parsing time "123" as "123": cannot parse "" as "3" (SA1002)

Check failure on line 6 in foo.go

View workflow job for this annotation

GitHub Actions / CI

Parse doesn't have side effects and its return value is ignored (SA4017)
}

func whatever() {}

Check failure on line 9 in foo.go

View workflow job for this annotation

GitHub Actions / CI

func whatever is unused (U1000)

Check failure on line 9 in foo.go

View workflow job for this annotation

GitHub Actions / CI

func whatever is unused (U1000)
Loading