Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 896f3f2

Browse files
committed
Upgrade to github actions
1 parent 38e98e8 commit 896f3f2

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/pull-request.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@ jobs:
2828
uses: actions/setup-java@v1
2929
with:
3030
java-version: ${{ matrix.java }}
31-
# - name: Cache Gradle
32-
# uses: actions/cache@v2
33-
# env:
34-
# java-version: ${{ matrix.java }}
35-
# with:
36-
# path: |
37-
# ~/.gradle/caches
38-
# ~/.gradle/wrapper
39-
# key: ${{ runner.os }}-${{ env.java-version }}-gradle-${{ hashFiles('**/*.gradle*') }}
40-
# restore-keys: |
41-
# ${{ runner.os }}-${{ env.java-version }}-gradle-
31+
- name: Cache Gradle
32+
uses: actions/cache@v2
33+
env:
34+
java-version: ${{ matrix.java }}
35+
with:
36+
path: |
37+
~/.gradle/caches
38+
~/.gradle/wrapper
39+
key: ${{ runner.os }}-${{ env.java-version }}-gradle-${{ hashFiles('**/*.gradle*') }}
40+
restore-keys: |
41+
${{ runner.os }}-${{ env.java-version }}-gradle-
4242
- name: Make gradlew executable (non-Windows only)
4343
if: matrix.os != 'windows-latest'
4444
run: chmod +x ./gradlew

graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/error/GraphQLErrorFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface GraphQLErrorFactory {
1010

1111
Optional<Class<? extends Throwable>> mostConcrete(Throwable t);
1212

13-
Collection<GraphQLError> create(Throwable t);
13+
Collection<GraphQLError> create(Throwable t, ErrorContext errorContext);
1414

1515
static GraphQLErrorFactory withReflection(Object object, Method method) {
1616
return new ReflectiveGraphQLErrorFactory(object, method);

graphql-kickstart-spring-support/src/main/java/graphql/kickstart/spring/error/ReflectiveGraphQLErrorFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public Optional<Class<? extends Throwable>> mostConcrete(Throwable t) {
3333
}
3434

3535
@Override
36-
public Collection<GraphQLError> create(Throwable t) {
36+
public Collection<GraphQLError> create(Throwable t, ErrorContext errorContext) {
3737
try {
3838
method.setAccessible(true);
3939
if (singularReturnType) {

0 commit comments

Comments
 (0)