diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a0272368460..43cde05e71b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -3,6 +3,9 @@ name: "checks" on: pull_request: +env: + GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true + jobs: lint: name: "Repository Linting" @@ -30,8 +33,7 @@ jobs: with: distribution: adopt java-version: 17 - - name: spotless + - name: Setup Gradle uses: gradle/gradle-build-action@v2.10.0 - with: - arguments: spotlessCheck -Dorg.gradle.parallel=true - cache: gradle + - name: run spotless + run: ./gradlew spotlessCheck -Dorg.gradle.parallel=true -Dorg.gradle.caching=true diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index e9626338a6f..3339de1414f 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -5,9 +5,12 @@ on: - checks types: - completed + workflow_dispatch: + env: - GRADLE_OPTS: "-Xmx6g -Dorg.gradle.daemon=false" + GRADLE_OPTS: "-Xmx6g" + GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true jobs: compile: @@ -23,8 +26,7 @@ jobs: distribution: adopt java-version: 17 cache: gradle - - name: Compile + - name: Setup Gradle uses: gradle/gradle-build-action@v2.10.0 - with: - arguments: build -x test -x spotlessCheck -Dorg.gradle.parallel=true - cache: gradle + - name: Run Build + run: ./gradlew build -x test -x spotlessCheck -Dorg.gradle.parallel=true -Dorg.gradle.caching=true diff --git a/.github/workflows/pr-checklist-on-draft.yml b/.github/workflows/pr-checklist-on-draft.yml index 69421e19e06..6790b296b38 100644 --- a/.github/workflows/pr-checklist-on-draft.yml +++ b/.github/workflows/pr-checklist-on-draft.yml @@ -6,7 +6,7 @@ on: jobs: checklist: name: "add checklist as a comment on newly opened PRs" - runs-on: [besu,Linux,self-hosted,nodocker] + runs-on: ubuntu-22.04 steps: - uses: actions/github-script@v5 with: diff --git a/.github/workflows/pr-checklist-on-open.yml b/.github/workflows/pr-checklist-on-open.yml index 3a4d4342c58..6bccd0ad111 100644 --- a/.github/workflows/pr-checklist-on-open.yml +++ b/.github/workflows/pr-checklist-on-open.yml @@ -6,7 +6,7 @@ on: jobs: checklist: name: "add checklist as a comment on newly opened PRs" - runs-on: [besu-research-ubuntu-8] + runs-on: ubuntu-22.04 steps: - uses: actions/github-script@v5 with: