4949# Running with HANA requires at least 8GB memory just for the database, which we don't have on GH Actions runners
5050# - rdbms: hana
5151 steps :
52- - uses : actions/checkout@v2
52+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5353 with :
5454 persist-credentials : false
5555 - name : Reclaim Disk Space
@@ -59,16 +59,17 @@ jobs:
5959 RDBMS : ${{ matrix.rdbms }}
6060 run : ci/database-start.sh
6161 - name : Set up Java 8
62- uses : actions/setup-java@v1
62+ uses : actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
6363 with :
64- java-version : 1.8
64+ distribution : ' temurin'
65+ java-version : ' 8'
6566 - name : Get year/month for cache key
6667 id : get-date
6768 run : |
6869 echo "::set-output name=yearmonth::$(/bin/date -u "+%Y-%m")"
6970 shell : bash
7071 - name : Cache Maven local repository
71- uses : actions/cache@v2
72+ uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
7273 id : cache-maven
7374 with :
7475 path : |
@@ -83,12 +84,12 @@ jobs:
8384 run : ./ci/build-github.sh
8485 shell : bash
8586 - name : Upload test reports (if Gradle failed)
86- uses : actions/upload-artifact@v4
87+ uses : actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
8788 if : failure()
8889 with :
8990 name : test-reports-java8-${{ matrix.rdbms }}
9091 path : |
9192 ./**/target/reports/tests/
9293 ./**/target/reports/checkstyle/
9394 - name : Omit produced artifacts from build cache
94- run : ./ci/before-cache.sh
95+ run : ./ci/before-cache.sh
0 commit comments