generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from siropkin/develop
Fix "No space left on device" in build job
- Loading branch information
Showing
2 changed files
with
27 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -36,6 +36,13 @@ jobs: | |
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }} | ||
steps: | ||
|
||
# Free GitHub Actions Environment Disk Space | ||
- name: Maximize Build Space | ||
uses: jlumbroso/[email protected] | ||
with: | ||
tool-cache: false | ||
large-packages: false | ||
|
||
# Check out the current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v4 | ||
|
@@ -53,9 +60,7 @@ jobs: | |
|
||
# Setup Gradle | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
# Set environment variables | ||
- name: Export Properties | ||
|
@@ -102,6 +107,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Free GitHub Actions Environment Disk Space | ||
- name: Maximize Build Space | ||
uses: jlumbroso/[email protected] | ||
with: | ||
tool-cache: false | ||
large-packages: false | ||
|
||
# Check out the current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v4 | ||
|
@@ -115,9 +127,7 @@ jobs: | |
|
||
# Setup Gradle | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
# Run tests | ||
- name: Run Tests | ||
|
@@ -150,14 +160,17 @@ jobs: | |
|
||
# Free GitHub Actions Environment Disk Space | ||
- name: Maximize Build Space | ||
uses: jlumbroso/free-disk-space@main | ||
uses: jlumbroso/free-disk-space@v1.3.1 | ||
with: | ||
tool-cache: false | ||
large-packages: false | ||
|
||
# Check out the current repository | ||
- name: Fetch Sources | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit | ||
fetch-depth: 0 # a full history is required for pull request analysis | ||
|
||
# Set up Java environment for the next steps | ||
- name: Setup Java | ||
|
@@ -168,7 +181,7 @@ jobs: | |
|
||
# Run Qodana inspections | ||
- name: Qodana - Code Inspection | ||
uses: JetBrains/qodana-action@v2024.1.5 | ||
uses: JetBrains/qodana-action@v2024.2 | ||
with: | ||
cache-default-branch-only: true | ||
|
||
|
@@ -181,7 +194,7 @@ jobs: | |
|
||
# Free GitHub Actions Environment Disk Space | ||
- name: Maximize Build Space | ||
uses: jlumbroso/free-disk-space@main | ||
uses: jlumbroso/free-disk-space@v1.3.1 | ||
with: | ||
tool-cache: false | ||
large-packages: false | ||
|
@@ -199,9 +212,7 @@ jobs: | |
|
||
# Setup Gradle | ||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
uses: gradle/actions/setup-gradle@v4 | ||
|
||
# Cache Plugin Verifier IDEs | ||
- name: Setup Plugin Verifier IDEs Cache | ||
|
This file contains 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