Skip to content

Commit

Permalink
ci: allow longer timeout for golangci-lint (#782)
Browse files Browse the repository at this point in the history
Was failing on all PRs today with a timeout error. Also update to newest
version (replacing #778)
  • Loading branch information
apricote authored Oct 24, 2023
1 parent eeb845a commit 5e456fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,7 @@ jobs:
name: golangci-lint
uses: golangci/golangci-lint-action@v3
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.54.2

# Optional: working directory, useful for monorepos
# working-directory: somedir

# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true

# Optional: if set to true then the action will use pre-installed Go
# skip-go-installation: true
version: v1.55.0
# In general linting is quite fast with warm caches, but a fresh run might
# take some time.
args: --timeout 5m
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test:acceptance:

test:golangci-lint:
stage: test
image: golangci/golangci-lint:v1.54.2
image: golangci/golangci-lint:v1.55.0
script:
- golangci-lint run -v
except:
Expand Down

0 comments on commit 5e456fc

Please sign in to comment.