Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: |
~/.m2/repository
!~/.m2/repository/org/apache/ignite/*/*-SNAPSHOT
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-

- name: Install prerequisites
run: |
Expand Down Expand Up @@ -131,7 +139,7 @@ jobs:

- name: Check javadocs.
run : |
./mvnw -DskipTests install -pl modules/commons,modules/tools,modules/codegen,modules/core,modules/binary/api,modules/core,modules/binary/impl,modules/core,modules/unsafe,modules/thin-client/api,modules/thin-client/impl,modules/nio,modules/indexing -B -V && ./mvnw initialize -Pjavadoc -B -V
./mvnw -DskipTests install -pl modules/commons,modules/tools,modules/codegen,modules/core,modules/binary/api,modules/binary/impl,modules/unsafe,modules/thin-client/api,modules/thin-client/impl,modules/nio,modules/indexing -B -V && ./mvnw initialize -Pjavadoc -B -V

- name: Documentation code snippets compilation check
run: |
Expand Down
22 changes: 9 additions & 13 deletions .github/workflows/sonar-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,33 +46,29 @@ jobs:
distribution: 'temurin'
java-version: 17

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: |
~/.m2/repository
!~/.m2/repository/org/apache/ignite/*/*-SNAPSHOT
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-

- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar

- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Install Libnuma
run: sudo apt-get update && sudo apt-get install libnuma-dev

- name: Build with Maven
run: |
./mvnw install -P all-java,lgpl,examples,skip-docs -DskipTests -B -V

- name: Setup JDK17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: Sonar Analyze Upload
run: >
./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/sonar-pr-from-fork-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ jobs:
distribution: 'temurin'
java-version: '17'

- name: Cache local Maven repository
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
path: |
~/.m2/repository
!~/.m2/repository/org/apache/ignite/*/*-SNAPSHOT
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2
restore-keys: ${{ runner.os }}-m2-

- name: Install Libnuma
run: sudo apt-get update && sudo apt-get install libnuma-dev
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/sonar-pr-from-fork-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,20 @@ jobs:
java-version: '17'
distribution: 'temurin'

- name: Cache SonarCloud packages
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
path: |
~/.m2/repository
!~/.m2/repository/org/apache/ignite/*/*-SNAPSHOT
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-

- name: Cache local Maven repository
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-m2
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar

- name: Sonar Analyze Upload
shell: bash
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
* Class that execute several commands passed via command line.
*/
public class CommandHandler {
/** */
/** Help. */
static final String CMD_HELP = "--help";

/** */
Expand Down
Loading