From 59614b987472f89844da46a1809f7b9eb4627100 Mon Sep 17 00:00:00 2001 From: meanmail Date: Thu, 25 Jan 2024 16:00:35 +0100 Subject: [PATCH] Simplify GitHub Actions configuration and update .gitignore Reduced the number of versions being tested in GitHub Actions and modified the test command to re-run tasks on failure. Removed the 'Install Dependencies' step since dependencies can now be managed by the Gradle wrapper scripts. Additionally, included the 'build' directory in the .gitignore file. --- .github/workflows/main.yml | 10 +--------- .gitignore | 3 ++- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9bbebd4d..9eae3048 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,11 +9,6 @@ jobs: fail-fast: false matrix: version: - - 6 - - 7 - - 8 - - 9 - - 10 - 11 - 12 - 13 @@ -38,8 +33,5 @@ jobs: - name: Setup Gradle uses: gradle/gradle-build-action@v2 - - name: Install Dependencies - run: ./gradlew build - - name: Run tests - run: ./gradlew test -i + run: ./gradlew test --rerun-tasks diff --git a/.gitignore b/.gitignore index 2f8f4a17..ec3d79df 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,5 @@ classes/ # gradle -.gradle/* +.gradle +build