2525 run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
2626 - uses : actions/checkout@v3
2727 - name : Run bazel-diff tests
28- run : USE_BAZEL_VERSION=latest ~/go/bin/bazelisk test //cli/...
28+ run : ~/go/bin/bazelisk test //cli/...
2929 - name : archive testlogs
3030 if : always()
3131 run : cp -R $(~/go/bin/bazelisk info bazel-testlogs) ./test-logs; (cd test-logs; zip -r -X ../test-logs.zip .)
5555 with :
5656 fetch-depth : 0
5757 - name : Run bazel-diff example script
58- run : USE_BAZEL_VERSION=latest ./bazel-diff-example.sh "$GITHUB_WORKSPACE" ~/go/bin/bazelisk $(git rev-parse HEAD~1) $(git rev-parse HEAD)
58+ run : ./bazel-diff-example.sh "$GITHUB_WORKSPACE" ~/go/bin/bazelisk $(git rev-parse HEAD~1) $(git rev-parse HEAD)
5959 test-jre11 :
6060 runs-on : ubuntu-latest
6161 steps :
7373 run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
7474 - uses : actions/checkout@v3
7575 - name : Run bazel-diff tests
76- run : USE_BAZEL_VERSION=latest ~/go/bin/bazelisk coverage --combined_report=lcov //cli/...
76+ run : ~/go/bin/bazelisk coverage --combined_report=lcov //cli/...
7777 - name : archive testlogs
7878 if : always()
7979 run : cp -R $(~/go/bin/bazelisk info bazel-testlogs) ./test-logs; (cd test-logs; zip -r -X ../test-logs.zip .)
@@ -103,7 +103,7 @@ jobs:
103103 with :
104104 fetch-depth : 0
105105 - name : Run bazel-diff example script
106- run : USE_BAZEL_VERSION=latest ./bazel-diff-example.sh "$GITHUB_WORKSPACE" ~/go/bin/bazelisk $(git rev-parse HEAD~1) $(git rev-parse HEAD)
106+ run : ./bazel-diff-example.sh "$GITHUB_WORKSPACE" ~/go/bin/bazelisk $(git rev-parse HEAD~1) $(git rev-parse HEAD)
107107 deploy :
108108 needs : [test-jre8, test-jre11]
109109 runs-on : ubuntu-latest
@@ -126,7 +126,7 @@ jobs:
126126 run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
127127 - uses : actions/checkout@v3
128128 - name : Build deployable JAR
129- run : USE_BAZEL_VERSION=latest ~/go/bin/bazelisk build //cli:bazel-diff_deploy.jar
129+ run : ~/go/bin/bazelisk build //cli:bazel-diff_deploy.jar
130130 - uses : actions/upload-artifact@v3
131131 with :
132132 name : bazel-diff_deploy.jar
0 commit comments