image: lab.wtfteam.pro:4567/containers/golangci-lint variables: APP_PATH: $APP_PATH APP_NAME: gonews stages: - test before_script: - go version - golangci-lint --version - mkdir -p $GOPATH/src/$APP_PATH/$APP_NAME - ln -s $CI_PROJECT_DIR $GOPATH/src/$APP_PATH/$APP_NAME - cd $GOPATH/src/$APP_PATH/$APP_NAME lint: stage: test tags: - docker script: - golangci-lint linters - golangci-lint run test: stage: test tags: - docker script: - go test -test.v -cover ./...