diff options
| author | 2021-11-22 08:46:19 +0100 | |
|---|---|---|
| committer | 2021-11-22 08:46:19 +0100 | |
| commit | f8630348b4c14215d87921962a2acbe8d3b6c981 (patch) | |
| tree | 8a06b1e91ca408de2451a79fee44de831456d729 /.drone.yml | |
| parent | tidy up database creation logic a bit (#317) (diff) | |
| download | gotosocial-f8630348b4c14215d87921962a2acbe8d3b6c981.tar.xz | |
Enable stricter linting with golangci-lint (#316)
* update golangci-lint
* add golangci config file w/ more linters
* correct issues flagged by stricter linters
* add more generous timeout for golangci-lint
* add some style + formatting guidelines
* move timeout to config file
* go fmt
Diffstat (limited to '.drone.yml')
| -rw-r--r-- | .drone.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml index 5a744f0d1..587f2e98d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,7 @@ steps: # We use golangci-lint for linting. # See: https://golangci-lint.run/ - name: lint - image: golangci/golangci-lint:v1.42.1 + image: golangci/golangci-lint:v1.43.0 volumes: - name: go-build-cache path: /root/.cache/go-build @@ -22,7 +22,7 @@ steps: - name: go-src path: /go commands: - - golangci-lint run --timeout 5m0s --tests=false --verbose + - golangci-lint run when: event: include: @@ -115,6 +115,6 @@ trigger: --- kind: signature -hmac: aa44c4655421fb0ed3141b8d7255a9a240dd4312244081d9e95929c4a196fd92 +hmac: 07d6ed18510f9591c6b347d6768cbe8e613561b3759f1a8dda8721d1d231a522 ... |
