Skip to content

Commit 5c38cc1

Browse files
committed
chore: update actions/cache and docker/login-action to latest versions in ci.yml
1 parent ab2c39d commit 5c38cc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Checkout repository
7878
uses: actions/checkout@v4.2.2 # cache maven packages step - caching maven packages to speed up the build process. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
7979
- name: Cache Maven packages
80-
uses: actions/cache@v3 # defining cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
80+
uses: actions/cache@v4.1.2 # defining cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
8181
with:
8282
path: ~/.m2/repository # path to the directory where maven packages are stored - /root/.m2 in the container
8383
key: ${{ runner.os }}-build-${{ hashFiles('**/pom.xml') }}
@@ -160,7 +160,7 @@ jobs:
160160
# caching the maven packages to speed up the build process.
161161
# Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
162162
- name: Cache Maven packages
163-
uses: actions/cache@v3 # using the actions/cache@v3 action to cache the maven packages
163+
uses: actions/cache@v4.1.2 # defining the cache key and restore keys for the cache step. Link to the documentation - https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
164164
with:
165165
path: /root/.m2 # path to cache
166166
key: ${{ runner.os }}-junit-${{ hashFiles('**/pom.xml') }} # key for restoring and saving the cache
@@ -285,7 +285,7 @@ jobs:
285285
# build the docker image using the Dockerfile in the root of the repository
286286
# and tag it with the current run number from the github action workflow run
287287
- name: Log in to the GH Container Registry
288-
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 # using the docker login action from the github marketplace - github.com/marketplace/actions/docker-login
288+
uses: docker/login-action@v3.3.0 # using the docker login action from the github marketplace - github.com/marketplace/actions/docker-login
289289
with:
290290
registry: ${{ env.REGISTRY }} # using the registry environment variable
291291
username: ${{ github.actor }} # using the github.actor context

0 commit comments

Comments
 (0)