@@ -21,14 +21,14 @@ jobs:
21
21
fail-fast : false # Should swap to true if we grow a large matrix
22
22
23
23
steps :
24
- - uses : actions/checkout@v3
25
- - uses : actions/setup-java@v3
24
+ - uses : actions/checkout@v4
25
+ - uses : actions/setup-java@v4
26
26
with :
27
27
java-version : ${{ matrix.jre }}
28
28
distribution : ' temurin'
29
29
30
30
- name : Gradle cache
31
- uses : actions/cache@v3
31
+ uses : actions/cache@v4
32
32
with :
33
33
path : |
34
34
~/.gradle/caches
37
37
restore-keys : |
38
38
${{ runner.os }}-gradle-
39
39
- name : Maven cache
40
- uses : actions/cache@v3
40
+ uses : actions/cache@v4
41
41
with :
42
42
path : |
43
43
~/.m2/repository
46
46
restore-keys : |
47
47
${{ runner.os }}-maven-
48
48
- name : Protobuf cache
49
- uses : actions/cache@v3
49
+ uses : actions/cache@v4
50
50
with :
51
51
path : /tmp/protobuf-cache
52
52
key : ${{ runner.os }}-maven-${{ hashFiles('buildscripts/make_dependencies.sh') }}
55
55
run : buildscripts/kokoro/unix.sh
56
56
- name : Post Failure Upload Test Reports to Artifacts
57
57
if : ${{ failure() }}
58
- uses : actions/upload-artifact@v3
58
+ uses : actions/upload-artifact@v4
59
59
with :
60
60
name : Test Reports (JRE ${{ matrix.jre }})
61
61
path : |
@@ -71,23 +71,25 @@ jobs:
71
71
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
72
72
run : ./gradlew :grpc-all:coveralls -PskipAndroid=true -x compileJava
73
73
- name : Codecov
74
- uses : codecov/codecov-action@v3
74
+ uses : codecov/codecov-action@v4
75
+ with :
76
+ token : ${{ secrets.CODECOV_TOKEN }}
75
77
76
78
bazel :
77
79
runs-on : ubuntu-latest
78
80
env :
79
81
USE_BAZEL_VERSION : 6.0.0
80
82
81
83
steps :
82
- - uses : actions/checkout@v3
84
+ - uses : actions/checkout@v4
83
85
84
86
- name : Check versions match in MODULE.bazel and repositories.bzl
85
87
run : |
86
88
diff -u <(sed -n '/GRPC_DEPS_START/,/GRPC_DEPS_END/ {/GRPC_DEPS_/! p}' MODULE.bazel) \
87
89
<(sed -n '/GRPC_DEPS_START/,/GRPC_DEPS_END/ {/GRPC_DEPS_/! p}' repositories.bzl)
88
90
89
91
- name : Bazel cache
90
- uses : actions/cache@v3
92
+ uses : actions/cache@v4
91
93
with :
92
94
path : |
93
95
~/.cache/bazel/*/cache
0 commit comments