25
25
run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
26
26
- uses : actions/checkout@v3
27
27
- name : Run bazel-diff tests
28
- run : USE_BAZEL_VERSION=latest ~/go/bin/bazelisk test //cli/...
28
+ run : ~/go/bin/bazelisk test //cli/...
29
29
- name : archive testlogs
30
30
if : always()
31
31
run : cp -R $(~/go/bin/bazelisk info bazel-testlogs) ./test-logs; (cd test-logs; zip -r -X ../test-logs.zip .)
55
55
with :
56
56
fetch-depth : 0
57
57
- 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)
59
59
test-jre11 :
60
60
runs-on : ubuntu-latest
61
61
steps :
73
73
run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
74
74
- uses : actions/checkout@v3
75
75
- 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/...
77
77
- name : archive testlogs
78
78
if : always()
79
79
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:
103
103
with :
104
104
fetch-depth : 0
105
105
- 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)
107
107
deploy :
108
108
needs : [test-jre8, test-jre11]
109
109
runs-on : ubuntu-latest
@@ -126,7 +126,7 @@ jobs:
126
126
run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
127
127
- uses : actions/checkout@v3
128
128
- 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
130
130
- uses : actions/upload-artifact@v3
131
131
with :
132
132
name : bazel-diff_deploy.jar
0 commit comments