Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update gradle/gradle-build-action action to v3 #312

Merged
Merged
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
7 changes: 6 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,23 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:

- name: Checkout project with submodules
uses: actions/checkout@v4
with:
submodules: true

- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- uses: gradle/gradle-build-action@v2

- uses: gradle/actions/setup-gradle@v3

- name: Run sanity check
run: ./gradlew --stacktrace test

- name: Run E2E tests
env:
ORG_GRADLE_PROJECT_sonatypeUsernameE2E: ${{ secrets.SONATYPE_USERNAME_E2E }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/gradle-latest-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- uses: gradle/gradle-build-action@v2

- uses: gradle/actions/setup-gradle@v3

- name: Fetch latest available Gradle versions
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- uses: gradle/wrapper-validation-action@v1
7 changes: 6 additions & 1 deletion .github/workflows/java-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ jobs:
name: "OpenJDK ${{ matrix.jdk }}"
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jdk }}
distribution: 'zulu'
- uses: gradle/gradle-build-action@v2

- uses: gradle/actions/setup-gradle@v3

# Workaround https://github.com/ajoberstar/gradle-stutter/issues/22
- name: Reduce number of Gradle regressions builds
run: |
Expand All @@ -35,6 +39,7 @@ jobs:
# The trick is that \2 will greedily eat everything before the last comma.
sed -r 's/^(.*?)=(.*),(.*)$/\1=\3/g' -i stutter.lockfile
cat stutter.lockfile

- name: Test cross Java versions compatibility
run: |
./gradlew --version
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:

- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'zulu'
- uses: gradle/gradle-build-action@v2
with:
arguments: --stacktrace build compatTestJava11

- uses: gradle/actions/setup-gradle@v3

- name: "Build and Test"
run: ./gradlew --stacktrace build compatTestJava11
Loading