This repository contains code of queue worker. Worker runs golangci-lint and reports result to GitHub.
Go (golang), heroku, circleci, docker, redis, postgres.
In golangci-api repo run:
docker-compose up -d
It runs postgres and redis needed for both api and worker.
make run_dev
REPO={OWNER/NAME} PR={PULL_REQUEST_NUMBER} make test_repo_fake_github
e.g. REPO=golangci/golangci-worker PR=39 make test_repo_fake_github
# in golangci-api repo
godotenv -f .env go run ./scripts/emulate_webhook/main.go -repo golangci/golangci-lint -pr 292 -sha 7b605d5c6f5a524e6b0a9cc12ad747222375ad54
Configurate via .env
file. Dev .env
may be like this: