-
Notifications
You must be signed in to change notification settings - Fork 3
Upgrade GitHub Actions to fix "Error: Cache service responded with 400" build error on the main branch
#12
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
6a8750b
switch to gradle/actions/setup-gradle@v4 for the test stage
AdwaitChavan 54feb6d
update github actions to their latest stable versions
AdwaitChavan 5f63373
update wrapper-validation to v5
AdwaitChavan 8026fb2
update codecov github action to v5
AdwaitChavan b51b3ce
pin versions used by github actions
AdwaitChavan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,22 +38,22 @@ jobs: | |
|
|
||
| # Check out the current repository | ||
| - name: Fetch Sources | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5.0.0 | ||
|
|
||
| # Validate wrapper | ||
| - name: Gradle Wrapper Validation | ||
| uses: gradle/actions/wrapper-validation@v4 | ||
| uses: gradle/actions/wrapper-validation@v5.0.0 | ||
|
|
||
| # Set up Java environment for the next steps | ||
| - name: Setup Java | ||
| uses: actions/setup-java@v4 | ||
| uses: actions/setup-java@v5.0.0 | ||
| with: | ||
| distribution: zulu | ||
| java-version: 21 | ||
|
|
||
| # Setup Gradle | ||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v4 | ||
| uses: gradle/actions/setup-gradle@v5.0.0 | ||
| with: | ||
| gradle-home-cache-cleanup: true | ||
|
|
||
|
|
@@ -90,7 +90,7 @@ jobs: | |
|
|
||
| # Store already-built plugin as an artifact for downloading | ||
| - name: Upload artifact | ||
| uses: actions/upload-artifact@v4 | ||
| uses: actions/upload-artifact@v4.6.2 | ||
| with: | ||
| name: ${{ steps.artifact.outputs.filename }} | ||
| path: ./build/distributions/content/*/* | ||
|
|
@@ -104,18 +104,18 @@ jobs: | |
|
|
||
| # Check out the current repository | ||
| - name: Fetch Sources | ||
| uses: actions/checkout@v4 | ||
| uses: actions/checkout@v5.0.0 | ||
|
|
||
| # Set up Java environment for the next steps | ||
| - name: Setup Java | ||
| uses: actions/setup-java@v4 | ||
| uses: actions/setup-java@v5.0.0 | ||
| with: | ||
| distribution: zulu | ||
| java-version: 21 | ||
|
|
||
| # Setup Gradle | ||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v3 | ||
| uses: gradle/actions/setup-gradle@v5.0.0 | ||
| with: | ||
| gradle-home-cache-cleanup: true | ||
|
|
||
|
|
@@ -126,14 +126,14 @@ jobs: | |
| # Collect Tests Result of failed tests | ||
| - name: Collect Tests Result | ||
| if: ${{ failure() }} | ||
| uses: actions/upload-artifact@v4 | ||
| uses: actions/upload-artifact@v4.6.2 | ||
| with: | ||
| name: tests-result | ||
| path: ${{ github.workspace }}/build/reports/tests | ||
|
|
||
| # Upload the Kover report to CodeCov | ||
| - name: Upload Code Coverage Report | ||
| uses: codecov/codecov-action@v4 | ||
| uses: codecov/codecov-action@v5.5.1 | ||
|
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. The latest version of codecov action is https://github.com/codecov/codecov-action/releases/tag/v5.5.1. Based on the migration guide, we do not have any breaking changes for this repo: https://github.com/codecov/codecov-action?tab=readme-ov-file#v5-release. |
||
| with: | ||
| files: ${{ github.workspace }}/build/reports/kover/report.xml | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The latest version of
upload-artifactis https://github.com/actions/upload-artifact/releases/tag/v4.6.2.