Skip to content

Commit

Permalink
chore: update to use new Gradle actions (#1991)
Browse files Browse the repository at this point in the history
### 📝 Description

Old actions were deprecated.

### 🔗 Related Issues

Supersedes #1982
Supersedes #1981
  • Loading branch information
dariuszkuc authored Jun 28, 2024
1 parent e8eca2c commit 4edd3a2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: Set up Java 17
uses: actions/setup-java@v4
Expand All @@ -24,7 +24,7 @@ jobs:
distribution: 'zulu'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Set up Maven cache
uses: actions/cache@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: Set up Java 17
uses: actions/setup-java@v4
Expand All @@ -21,7 +21,7 @@ jobs:
distribution: 'zulu'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Build libraries with Gradle
run: ./gradlew clean build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/federation-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
distribution: 'zulu'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Build Subgraphs
working-directory: examples
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
uses: actions/checkout@v3

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: Set up Java 17
uses: actions/setup-java@v4
Expand All @@ -89,7 +89,7 @@ jobs:
distribution: 'zulu'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Build compatibility app with Gradle
run: ./gradlew bootJar graphqlGenerateSDL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/graalvm-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v3

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: Setup GraalVM
uses: graalvm/setup-graalvm@v1
Expand All @@ -36,7 +36,7 @@ jobs:
native-image-job-reports: 'true'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Build native image
timeout-minutes: 20
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/http-spec-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
run: npm install

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3

- name: Set up Java 17
uses: actions/setup-java@v4
Expand All @@ -49,7 +49,7 @@ jobs:
distribution: 'zulu'

- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3

- name: Start server
id: start_server
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/plugin-it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
- name: Android Test
run: ./gradlew build
- name: Archive failures
Expand All @@ -42,14 +42,14 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
- name: Integration Tests
run: ./gradlew build
- name: Archive failures
Expand All @@ -70,15 +70,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/actions/wrapper-validation@v3
- name: Set up Java 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'zulu'
cache: 'maven'
- name: Set up Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
- name: Integration Tests
run: ./gradlew build
- name: Archive failures
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: gradle/wrapper-validation-action@v1
- uses: gradle/actions/wrapper-validation@v3

- name: Set up Java 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit 4edd3a2

Please sign in to comment.