-
Notifications
You must be signed in to change notification settings - Fork 4k
.github/workflows: Bump action major versions #11476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,14 +21,14 @@ jobs: | |
| fail-fast: false # Should swap to true if we grow a large matrix | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-java@v3 | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: ${{ matrix.jre }} | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Gradle cache | ||
| uses: actions/cache@v3 | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.gradle/caches | ||
|
|
@@ -37,7 +37,7 @@ jobs: | |
| restore-keys: | | ||
| ${{ runner.os }}-gradle- | ||
| - name: Maven cache | ||
| uses: actions/cache@v3 | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.m2/repository | ||
|
|
@@ -46,7 +46,7 @@ jobs: | |
| restore-keys: | | ||
| ${{ runner.os }}-maven- | ||
| - name: Protobuf cache | ||
| uses: actions/cache@v3 | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: /tmp/protobuf-cache | ||
| key: ${{ runner.os }}-maven-${{ hashFiles('buildscripts/make_dependencies.sh') }} | ||
|
|
@@ -55,7 +55,7 @@ jobs: | |
| run: buildscripts/kokoro/unix.sh | ||
| - name: Post Failure Upload Test Reports to Artifacts | ||
| if: ${{ failure() }} | ||
| uses: actions/upload-artifact@v3 | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: Test Reports (JRE ${{ matrix.jre }}) | ||
| path: | | ||
|
|
@@ -71,23 +71,25 @@ jobs: | |
| COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
| run: ./gradlew :grpc-all:coveralls -PskipAndroid=true -x compileJava | ||
| - name: Codecov | ||
| uses: codecov/codecov-action@v3 | ||
| uses: codecov/codecov-action@v4 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
|
Comment on lines
+74
to
+76
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the only breaking change introduced by this PR. Codecov v4 no longer supports tokenless uploading, see https://github.com/codecov/codecov-action/tree/v4.5.0?tab=readme-ov-file#breaking-changes. Important Maintainers need to follow https://docs.codecov.com/docs/adding-the-codecov-token#github-actions and set the In v3, there is a rate limit for uploading without token. We have been rate limited in a lot of our workflow runs, see https://github.com/grpc/grpc-java/actions/runs/10389467357/job/28767544204#step:11:33
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like we haven't had a working codecov since May. Weird they didn't produce any error and instead just didn't provide a build status. "Codecov will exit with status code 0. If you are expecting a non-zero exit code, please pass in the I've added this secret, so this should be fine now. |
||
|
|
||
| bazel: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| USE_BAZEL_VERSION: 6.0.0 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Check versions match in MODULE.bazel and repositories.bzl | ||
| run: | | ||
| diff -u <(sed -n '/GRPC_DEPS_START/,/GRPC_DEPS_END/ {/GRPC_DEPS_/! p}' MODULE.bazel) \ | ||
| <(sed -n '/GRPC_DEPS_START/,/GRPC_DEPS_END/ {/GRPC_DEPS_/! p}' repositories.bzl) | ||
|
|
||
| - name: Bazel cache | ||
| uses: actions/cache@v3 | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: | | ||
| ~/.cache/bazel/*/cache | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will now lock discussions. The default is after 365 days. That seems okay.