Skip to content

Commit

Permalink
Merge pull request inkyblackness#129 from inkyblackness/fix/golangci-…
Browse files Browse the repository at this point in the history
…lint-action-update

Fix/golangci lint action update
  • Loading branch information
dertseha authored Nov 25, 2020
2 parents 2e480c5 + 1d2738d commit 14676df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
uses: golangci/golangci-lint-action@v2.3.0
with:
version: v1.27
version: v1.28.3
4 changes: 1 addition & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
service:
golangci-lint-version: 1.27.x

run:
deadline: 5m

Expand All @@ -12,6 +9,7 @@ linters:
disable:
- gochecknoglobals
- goimports # disabled because of so many false-positives with "imgui-go"
- gofumpt # disabled because no extra need
- wsl # this one has become too pedantic

issues:
Expand Down
2 changes: 1 addition & 1 deletion Main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ func Version() string {
return C.GoString(C.iggGetVersion())
}

// Time returns global imgui time. Incremented by io.DeltaTime every frame.
// Time returns global imgui time. Incremented by io.DeltaTime every frame.
func Time() float64 {
return float64(C.iggGetTime())
}
Expand Down

0 comments on commit 14676df

Please sign in to comment.