mirror of
https://github.com/makew0rld/amfora.git
synced 2024-06-19 19:25:24 +00:00
Update linter
This commit is contained in:
parent
4aa774ef31
commit
e44df10719
2
.github/workflows/golangci-lint.yml
vendored
2
.github/workflows/golangci-lint.yml
vendored
|
@ -24,6 +24,6 @@ jobs:
|
|||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
||||
version: v1.31
|
||||
version: v1.35
|
||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||
only-new-issues: true
|
||||
|
|
|
@ -374,9 +374,9 @@ func updateAll() {
|
|||
defer wg.Done()
|
||||
for j := range jobs {
|
||||
if j[0] == "feed" {
|
||||
updateFeed(j[1]) //nolint:errcheck
|
||||
updateFeed(j[1])
|
||||
} else if j[0] == "page" {
|
||||
updatePage(j[1]) //nolint:errcheck
|
||||
updatePage(j[1])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user