We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 049c29c commit 4dcdb45Copy full SHA for 4dcdb45
.buildkite/pipeline.yml
@@ -4,6 +4,15 @@ steps:
4
queue: "init"
5
docker: "*"
6
command: ".buildkite/scripts/fossa.sh"
7
+ - label: "Lint Check"
8
+ agents:
9
+ queue: "init"
10
+ docker: "*"
11
+ command: ".buildkite/scripts/lint.sh"
12
+ plugins:
13
+ - docker-compose#v3.0.0:
14
+ run: unit-test-test-service
15
+ config: docker/buildkite/docker-compose.yaml
16
- label: ":java: Unit test with test services"
17
agents:
18
queue: "workers"
.buildkite/scripts/lint.sh
@@ -0,0 +1,12 @@
1
+#!/bin/sh
2
+
3
+set -ex
+./gradlew goJF
+if [ -n "$(git status --porcelain)" ]; then
+ echo "There are changes after linting (used goJF) cmd: ./gradlew goJF"
+ echo "Please rerun the command and commit the changes"
+ git status --porcelain
+ exit 1
+fi
0 commit comments