77 name : Run checkstyle
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v3
1111 - name : Set up JDK 11
12- uses : actions/setup-java@v2
12+ uses : actions/setup-java@v3
1313 with :
1414 distribution : ' zulu'
1515 java-version : 11
1616 java-package : jdk
1717 - name : Cache local Maven repository
18- uses : actions/cache@v2
18+ uses : actions/cache@v3
1919 with :
2020 path : ~/.m2
2121 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -34,19 +34,25 @@ jobs:
3434 include :
3535 - java_version : ' 16'
3636 java_allow_illegal_access : true
37- - java_version : ' 17-ea'
37+ - java_version : ' 17'
38+ java_allow_illegal_access : true
39+ - java_version : ' 18'
40+ java_allow_illegal_access : true
41+ - java_version : ' 19'
42+ java_allow_illegal_access : true
43+ - java_version : ' 20'
3844 java_allow_illegal_access : true
3945
4046 steps :
41- - uses : actions/checkout@v2
47+ - uses : actions/checkout@v3
4248 - name : Set up JDK ${{ matrix.java_version }}
43- uses : actions/setup-java@v2
49+ uses : actions/setup-java@v3
4450 with :
4551 distribution : ' zulu'
4652 java-version : ${{ matrix.java_version }}
4753 java-package : jdk
4854 - name : Cache local Maven repository
49- uses : actions/cache@v2
55+ uses : actions/cache@v3
5056 with :
5157 path : ~/.m2
5258 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -65,12 +71,12 @@ jobs:
6571 strategy :
6672 matrix :
6773 java_version : ['11']
68- maven_version : ['3.1.1', '3.2.5', '3.3.9', '3.5.4', '3.6.3', '3.8.1 ']
74+ maven_version : ['3.1.0-alpha- 1', '3.1.1', '3. 2.5', '3.3.9', '3.5.4', '3.6.3', '3.8.8', '3.9.1', '4.0.0-alpha-5 ']
6975
7076 steps :
71- - uses : actions/checkout@v2
77+ - uses : actions/checkout@v3
7278 - name : Set up JDK ${{ matrix.java_version }}
73- uses : actions/setup-java@v2
79+ uses : actions/setup-java@v3
7480 with :
7581 distribution : ' zulu'
7682 java-version : ${{ matrix.java_version }}
9399 - name : Setup System Path to use the custom Maven
94100 run : echo "${M2_HOME}/bin" >> $GITHUB_PATH
95101 - name : Cache local Maven repository
96- uses : actions/cache@v2
102+ uses : actions/cache@v3
97103 with :
98104 path : ~/.m2
99105 # Include Maven version in key to not use cache from other Maven versions
@@ -117,16 +123,16 @@ jobs:
117123 if : ${{ github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') }}
118124
119125 steps :
120- - uses : actions/checkout@v2
126+ - uses : actions/checkout@v3
121127 - run : git checkout "${GITHUB_REF:11}"
122128 - name : Set up JDK 11
123- uses : actions/setup-java@v2
129+ uses : actions/setup-java@v3
124130 with :
125131 distribution : ' zulu'
126132 java-version : 11
127133 java-package : jdk
128134 - name : Cache local Maven repository
129- uses : actions/cache@v2
135+ uses : actions/cache@v3
130136 with :
131137 path : ~/.m2
132138 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
@@ -141,15 +147,15 @@ jobs:
141147 if : ${{ github.event_name != 'pull_request' && !startsWith(github.ref, 'refs/tags/') && github.ref == 'refs/heads/master' }}
142148
143149 steps :
144- - uses : actions/checkout@v2
150+ - uses : actions/checkout@v3
145151 - name : Set up JDK 11
146- uses : actions/setup-java@v2
152+ uses : actions/setup-java@v3
147153 with :
148154 distribution : ' zulu'
149155 java-version : 11
150156 java-package : jdk
151157 - name : Cache local Maven repository
152- uses : actions/cache@v2
158+ uses : actions/cache@v3
153159 with :
154160 path : ~/.m2
155161 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
0 commit comments