55 push :
66 branches :
77 - main
8+ - chore/remove-aliases
89 paths-ignore :
910 - ' **/*.md'
1011 - ' **/*.jpg'
@@ -63,24 +64,24 @@ jobs:
6364
6465 steps :
6566 - name : ' Clone repository'
66- uses : actions/checkout@v4
67+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
6768 with :
6869 ref : ${{ github.event.pull_request.head.sha || github.sha }}
6970 - name : " Set up JDK 8"
70- uses : actions/setup-java@v3
71+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
7172 with :
7273 distribution : " corretto"
7374 java-version : 8
7475 - name : Set up Node.js
75- uses : actions/setup-node@v4
76+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7677 with :
77- node-version : " 20 .x"
78+ node-version : " 22 .x"
7879 - name : Install dependencies
7980 run : npm install --no-save
8081
8182 - name : Configure AWS Credentials
8283 id : creds
83- uses : aws-actions/configure-aws-credentials@v4
84+ uses : aws-actions/configure-aws-credentials@e7f100cf4c008499ea8adda475de1042d6975c7b # v6
8485 with :
8586 role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}
8687 role-session-name : nodejs_int_default_tests
@@ -102,7 +103,7 @@ jobs:
102103 - name : " Get Github Action IP"
103104 if : always()
104105 id : ip
105- uses : haythem/public-ip@v1.3
106+ uses : haythem/public-ip@bdddd92c198b0955f0b494a8ebeac529754262ff # v1.3
106107
107108 - name : " Remove Github Action IP"
108109 if : always()
@@ -116,7 +117,7 @@ jobs:
116117
117118 - name : Archive results
118119 if : always()
119- uses : actions/upload-artifact@v4
120+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
120121 with :
121122 name : integration-report-default-${{ matrix.dbEngine }}
122123 path : ./tests/integration/container/reports
@@ -126,29 +127,32 @@ jobs:
126127 name : Run Integration Tests (Latest)
127128 runs-on : ubuntu-latest
128129 needs : run-integration-tests-default
130+ if : |
131+ always() &&
132+ needs.run-integration-tests-default.result == 'success'
129133 strategy :
130134 fail-fast : false
131135 matrix :
132136 dbEngine : ["aurora-mysql", "aurora-postgres" ]
133137
134138 steps :
135139 - name : Clone repository
136- uses : actions/checkout@v4
140+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
137141 - name : " Set up JDK 8"
138- uses : actions/setup-java@v3
142+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
139143 with :
140144 distribution : " corretto"
141145 java-version : 8
142146 - name : Set up Node.js
143- uses : actions/setup-node@v4
147+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
144148 with :
145- node-version : " 20 .x"
149+ node-version : " 22 .x"
146150 - name : Install dependencies
147151 run : npm install --no-save
148152
149153 - name : Configure AWS Credentials
150154 id : creds
151- uses : aws-actions/configure-aws-credentials@v4
155+ uses : aws-actions/configure-aws-credentials@e7f100cf4c008499ea8adda475de1042d6975c7b # v6
152156 with :
153157 role-to-assume : arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}
154158 role-session-name : nodejs_int_latest_tests
@@ -170,7 +174,7 @@ jobs:
170174 - name : " Get Github Action IP"
171175 if : always()
172176 id : ip
173- uses : haythem/public-ip@v1.3
177+ uses : haythem/public-ip@bdddd92c198b0955f0b494a8ebeac529754262ff # v1.3
174178
175179 - name : " Remove Github Action IP"
176180 if : always()
@@ -184,7 +188,7 @@ jobs:
184188
185189 - name : Archive results
186190 if : always()
187- uses : actions/upload-artifact@v4
191+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
188192 with :
189193 name : integration-report-latest-${{ matrix.dbEngine }}
190194 path : ./tests/integration/container/reports
0 commit comments