I had a bug with golangci-lint that would time out on some Github Actions builds. In order to investigate the issue, I wrote this Deno script that would scrap all the logs and look for the memory used (we used golangci-lint with the -v flag which prints how much memory was being spent).
If you also use golangci-lint and have weird time out issues, turn on golangci-lint's -v mode and run this script.
brew install denoRun it: