Skip to content

Commit

Permalink
Merge pull request hyperledger#19 from jflo/gha_checks
Browse files Browse the repository at this point in the history
pls just run the workflow_run already
  • Loading branch information
jflo authored Dec 6, 2023
2 parents f01c086 + c625eff commit 1fd17f3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: "checks"
on:
pull_request:

env:
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true

jobs:
lint:
name: "Repository Linting"
Expand Down Expand Up @@ -30,8 +33,7 @@ jobs:
with:
distribution: adopt
java-version: 17
- name: spotless
- name: Setup Gradle
uses: gradle/[email protected]
with:
arguments: build spotlessCheck -Dorg.gradle.parallel=true
cache: gradle
- name: run spotless
run: ./gradlew spotlessCheck -Dorg.gradle.parallel=true -Dorg.gradle.caching=true
13 changes: 8 additions & 5 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -23,7 +26,7 @@ jobs:
distribution: adopt
java-version: 17
cache: gradle
- name: Compile
uses: gradle/gradle-build-action@v2
with:
arguments: build -x test -x spotlessCheck -Dorg.gradle.parallel=true
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.10.0
- name: Run Build
run: ./gradlew build -x test -x spotlessCheck -Dorg.gradle.parallel=true -Dorg.gradle.caching=true
2 changes: 1 addition & 1 deletion .github/workflows/pr-checklist-on-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checklist-on-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1fd17f3

Please sign in to comment.