@@ -19,23 +19,23 @@ jobs:
1919 name : Cache Maven dependencies
2020 runs-on : ubuntu-latest
2121 steps :
22- - uses : actions/checkout@v4
23- - uses : actions/setup-java@v4
22+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
23+ - uses : actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
2424 with :
2525 distribution : " zulu"
26- java-version : " 17 "
26+ java-version : " 21 "
2727 cache : " maven"
2828 - run : mvn dependency:go-offline
2929
3030 unit :
3131 name : Unit tests
3232 runs-on : ubuntu-latest
3333 steps :
34- - uses : actions/checkout@v4
35- - uses : actions/setup-java@v4
34+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
35+ - uses : actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
3636 with :
3737 distribution : " zulu"
38- java-version : " 17 "
38+ java-version : " 21 "
3939 cache : " maven"
4040 - run : mvn test -Dtest='!*ITest'
4141
@@ -46,20 +46,20 @@ jobs:
4646 steps :
4747 - name : Login to Docker Hub
4848 if : ${{ !github.event.pull_request.head.repo.fork }}
49- uses : docker/login-action@v3
49+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
5050 with :
5151 username : ${{ secrets.DOCKER_USERNAME }}
5252 password : ${{ secrets.DOCKER_PASSWORD }}
5353 - id : cache-check
54- uses : actions/cache/restore@v4
54+ uses : actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
5555 env :
5656 DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
5757 with :
5858 path : ${{ env.DOCKER_IMAGES_TAR }}
5959 key : ${{ env.DOCKER_CACHE_KEY }}
6060 lookup-only : true # Only check if cache exists, don't download
6161 - name : Free Disk Space (Ubuntu)
62- uses : jlumbroso/free-disk-space@v1.3.1
62+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
6363 with :
6464 tool-cache : false
6565 android : true
7777 docker save $IMG2VEC $MINIO -o $DOCKER_IMAGES_TAR
7878 - name : Cache images
7979 if : steps.cache-check.outputs.cache-hit != 'true'
80- uses : actions/cache/save@v4
80+ uses : actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
8181 env :
8282 DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
8383 with :
@@ -94,16 +94,16 @@ jobs:
9494 WEAVIATE_VERSION :
9595 ["1.32.24", "1.33.11", "1.34.7", "1.35.2", "1.36.9", "1.37.0-rc.0"]
9696 steps :
97- - uses : actions/checkout@v4
97+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
9898
99- - uses : actions/cache/restore@v4
99+ - uses : actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
100100 env :
101101 DOCKER_CACHE_KEY : docker-images-${{ env.IMG2VEC }}-${{ env.MINIO }}-${{ env.MODEL2VEC }}
102102 with :
103103 path : ${{ env.DOCKER_IMAGES_TAR }}
104104 key : ${{ env.DOCKER_CACHE_KEY }}
105105 - name : Free Disk Space (Ubuntu)
106- uses : jlumbroso/free-disk-space@v1.3.1
106+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
107107 with :
108108 tool-cache : false
109109 android : true
@@ -117,11 +117,11 @@ jobs:
117117 if [ -f $DOCKER_IMAGES_TAR ]; then
118118 docker load -i $DOCKER_IMAGES_TAR
119119 fi
120- - uses : actions/setup-java@v4
120+ - uses : actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
121121 name : Setup JDK
122122 with :
123123 distribution : " zulu"
124- java-version : " 17 "
124+ java-version : " 21 "
125125 cache : " maven"
126126
127127 - name : Run Tests (v${{ matrix.WEAVIATE_VERSION }})
0 commit comments