docker-lint: use go 1.19 compatible golangci-lint version

- use same user in docker container
- use GOPATH in source dir to prevent downloading all dependencies on each run
- add make clean
This commit is contained in:
André Roth
2024-08-02 18:35:04 +02:00
parent 0a6e8e3c9e
commit 40eb4b4751
4 changed files with 28 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ jobs:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.56.2
version: v1.54.1
# Optional: working directory, useful for monorepos
# working-directory: somedir