Skip to content

Commit e25b0a5

Browse files
authored
Upgrade actions in CI workflow to latest versions
Updated GitHub Actions to use the latest versions of checkout, upload-artifact, and download-artifact actions.
1 parent 7329ca4 commit e25b0a5

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ jobs:
1717
if: startsWith(github.ref, 'dockerfile-image-update-') == false
1818
steps:
1919
- name: checkout
20-
uses: actions/checkout@main
20+
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ github.ref }}
2323
- name: docker build
2424
run: make mvn-docker-build get-main-project-dirs
2525
- name: Upload main module
26-
uses: actions/upload-artifact@v1
26+
uses: actions/upload-artifact@v4
2727
with:
2828
name: dockerfile-image-update
2929
path: dockerfile-image-update
3030
- name: Upload itest module
31-
uses: actions/upload-artifact@v1
31+
uses: actions/upload-artifact@v4
3232
with:
3333
name: dockerfile-image-update-itest
3434
path: dockerfile-image-update-itest
@@ -39,7 +39,7 @@ jobs:
3939
version: ${{ steps.version_tag.outputs.new_version }}
4040
steps:
4141
- name: checkout
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4
4343
with:
4444
fetch-depth: 0
4545
- name: get version
@@ -52,13 +52,14 @@ jobs:
5252
needs: [build-test, get-next-version]
5353
steps:
5454
- name: checkout
55-
uses: actions/checkout@main
55+
uses: actions/checkout@v4
5656
with:
5757
ref: ${{ github.ref }}
5858
- name: Download itest dir
59-
uses: actions/download-artifact@v1
59+
uses: actions/download-artifact@v4
6060
with:
6161
name: dockerfile-image-update-itest
62+
path: dockerfile-image-update-itest
6263
- name: integration test
6364
env:
6465
ITEST_GH_TOKEN: ${{ secrets.ITEST_GH_TOKEN }}
@@ -68,9 +69,10 @@ jobs:
6869
needs: build-test
6970
steps:
7071
- name: Download main project dir
71-
uses: actions/download-artifact@v1
72+
uses: actions/download-artifact@v4
7273
with:
7374
name: dockerfile-image-update
75+
path: dockerfile-image-update
7476
- name: Upload coverage to Codecov
7577
uses: codecov/codecov-action@v1.0.10
7678
with:
@@ -84,13 +86,14 @@ jobs:
8486
needs: build-test
8587
steps:
8688
- name: checkout
87-
uses: actions/checkout@main
89+
uses: actions/checkout@v4
8890
with:
8991
ref: ${{ github.ref }}
9092
- name: Download main project dir
91-
uses: actions/download-artifact@v1
93+
uses: actions/download-artifact@v4
9294
with:
9395
name: dockerfile-image-update
96+
path: dockerfile-image-update
9497
- name: Upload coverage to Code Climate
9598
uses: paambaati/codeclimate-action@v2.6.0
9699
env:

0 commit comments

Comments
 (0)