File tree Expand file tree Collapse file tree 5 files changed +52
-32
lines changed
Expand file tree Collapse file tree 5 files changed +52
-32
lines changed Original file line number Diff line number Diff line change 1+ name : Setup and Start Vault
2+ description : ' Download and start a Vault server'
3+
4+ runs :
5+ using : composite
6+ steps :
7+ - name : Cache Vault
8+ 9+ with :
10+ path : |
11+ download
12+ vault
13+ key : ${{ runner.os }}-vault-${{ hashFiles('src/test/bash/**') }}
14+ - name : Install and Start Vault
15+ shell : bash
16+ run : src/test/bash/start.sh
Original file line number Diff line number Diff line change 1+ {
2+ "java" : {
3+ "base" : " 17.0.17" ,
4+ "main" : " 17.0.17" ,
5+ "next" : " 24.0.2" ,
6+ "latest" : " 25.0.1" ,
7+ "dist" : " temurin"
8+ },
9+ "database" : {
10+ "mongodb" : {
11+ "6" : " 6.0.23" ,
12+ "7.0" : " 7.0.20" ,
13+ "8.0" : " 8.0.17" ,
14+ "8.2" : " 8.2.3" ,
15+ "latest" : " 8.2.3"
16+ },
17+ "redis" : {
18+ "6" : " 6.2.13" ,
19+ "7" : " 7.2.4" ,
20+ "8" : " 8.2.2" ,
21+ "latest" : " 8.2.2" ,
22+ "valkey-8" : " 8.1.1"
23+ }
24+ },
25+ "build" : {
26+ "username" : " spring-builds+github"
27+ }
28+ }
Original file line number Diff line number Diff line change @@ -10,29 +10,17 @@ jobs:
1010 build-java :
1111 strategy :
1212 matrix :
13- java-version : [ 'base' ]
13+ java-version : [ 'base', 'next' ]
1414 name : Build project
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v6
1818 - name : Setup Java and Maven
19- uses : spring-projects/spring-data-release /actions/setup-maven@main
19+ uses : spring-projects/spring-data-build /actions/setup-maven@3.5.x
2020 with :
2121 java-version : ' ${{ matrix.java-version }}'
2222 develocity-access-key : ' ${{ secrets.DEVELOCITY_ACCESS_KEY }}'
23- - name : Cache Vault
24- 25- with :
26- path : |
27- download
28- vault
29- key : ${{ runner.os }}-vault-${{ hashFiles('src/test/bash/**') }}
3023 - name : Install and Start Vault
31- run : src/test/bash/start.sh
24+ uses : ./.github/actions/setup-vault
3225 - name : Build
33- run : ./mvnw -B -U clean verify
34- - name : Test Summary
35- uses :
test-summary/[email protected] 36- with :
37- paths : ' **/TEST-*.xml'
38- if : always()
26+ uses :
spring-projects/spring-data-build/actions/[email protected]
Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/checkout@v6
1717 - name : Setup Java and Maven
18- uses : spring-projects/spring-data-release /actions/setup-maven@main
18+ uses : spring-projects/spring-data-build /actions/setup-maven@3.5.x
1919 with :
2020 java-version : ' base'
2121 develocity-access-key : ' ${{ secrets.DEVELOCITY_ACCESS_KEY }}'
Original file line number Diff line number Diff line change @@ -13,32 +13,20 @@ jobs:
1313 steps :
1414 - uses : actions/checkout@v6
1515 - name : Setup Java and Maven
16- uses : spring-projects/spring-data-release /actions/setup-maven@main
16+ uses : spring-projects/spring-data-build /actions/setup-maven@3.5.x
1717 with :
1818 java-version : ' base'
1919 develocity-access-key : ' ${{ secrets.DEVELOCITY_ACCESS_KEY }}'
20- - name : Cache Vault
21- 22- with :
23- path : |
24- download
25- vault
26- key : ${{ runner.os }}-vault-${{ hashFiles('src/test/bash/**') }}
2720 - name : Install and Start Vault
28- run : src/test/bash/start.sh
21+ uses : ./.github/actions/setup-vault
2922 - name : Capture version
3023 run : |
3124 echo "PROJECT_VERSION=$(./ci/get-version.sh)" >> $GITHUB_ENV
3225 - name : Deploy to Artifactory
3326 if : ${{ github.repository_owner == 'spring-projects' && contains(env.PROJECT_VERSION, '-SNAPSHOT') }}
34- uses : spring-projects/spring-data-release /actions/maven-artifactory-deploy@main
27+ uses : spring-projects/spring-data-build /actions/maven-artifactory-deploy@3.5.x
3528 with :
3629 build-name : ' spring-vault'
3730 skip-tests : ' false'
3831 username : ' ${{ secrets.ARTIFACTORY_USERNAME }}'
3932 password : ' ${{ secrets.ARTIFACTORY_PASSWORD }}'
40- - name : Test Summary
41- uses :
test-summary/[email protected] 42- with :
43- paths : ' **/TEST-*.xml'
44- if : always()
You can’t perform that action at this time.
0 commit comments