1313
1414 steps :
1515 - name : Checkout code
16- uses : actions/checkout@v4
16+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
1717
1818 - name : Debug GitHub context
1919 run : |
2626
2727 - name : Get all changed python files in tests/ and changes to coverted-ethereum-tests.txt
2828 id : changed-tests
29- uses : tj-actions/changed-files@v45
29+ uses : tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c
3030 with :
3131 # TODO: non-test modules such as __init__.py or spec.py could effect coverage - in this case we should
3232 # fill all applicable tests (i.e., all the test_*.py files in or under the changed module's directory)
6060
6161 - name : Log in to Docker Hub
6262 if : ${{ steps.changed-tests.outputs.tests_any_changed == 'true' && github.event.pull_request.head.repo.full_name == github.repository }}
63- uses : docker/login-action@v3
63+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772
6464 with :
6565 username : winsvega
6666 password : ${{ secrets.DOCKERHUB_PASSWORD }}
9494 targets : " evmone-t8n"
9595
9696 - name : Checkout ethereum/tests
97- uses : actions/checkout@v4
97+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
9898 if : steps.changed-tests.outputs.tests_any_changed == 'true'
9999 with :
100100 repository : ethereum/tests
@@ -104,7 +104,7 @@ jobs:
104104 EOFTests
105105
106106 - name : Checkout ethereum/legacytests
107- uses : actions/checkout@v4
107+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
108108 if : steps.changed-tests.outputs.tests_any_changed == 'true'
109109 with :
110110 repository : ethereum/legacytests
@@ -277,23 +277,23 @@ jobs:
277277 ls ${{ github.workspace }}/evmtest_coverage/coverage/PATCH_TESTS
278278
279279 - name : Run coverage of the BASE tests
280- uses : addnab/docker-run-action@v3
280+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
281281 if : ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
282282 with :
283283 image : winsvega/evmone-coverage-script:latest
284284 options : -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests
285285 run : /entrypoint.sh --mode=cover --driver=native --testpath=/tests/BASE_TESTS --outputname=BASE
286286
287287 - name : Run coverage of the PATCH tests
288- uses : addnab/docker-run-action@v3
288+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
289289 if : ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
290290 with :
291291 image : winsvega/evmone-coverage-script:latest
292292 options : -v ${{ github.workspace }}/evmtest_coverage/coverage:/tests
293293 run : /entrypoint.sh --mode=cover --driver=native --testpath=/tests/PATCH_TESTS --outputname=PATCH
294294
295295 - name : Run coverage DIFF of the PATCH tests compared to BASE tests
296- uses : addnab/docker-run-action@v3
296+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
297297 if : ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
298298 with :
299299 image : winsvega/evmone-coverage-script:latest
@@ -307,15 +307,15 @@ jobs:
307307 sudo chown -R $user:$user ${{ github.workspace }}/evmtest_coverage/coverage
308308
309309 - name : Upload coverage results
310- uses : actions/upload-artifact@v4
310+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
311311 if : ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
312312 with :
313313 name : coverage-diff-native-${{ github.run_id }}-${{ github.run_attempt }}
314314 path : ${{ github.workspace }}/evmtest_coverage/coverage
315315 compression-level : 6 # Default compression level for optimal balance
316316
317317 - name : Verify coverage results
318- uses : addnab/docker-run-action@v3
318+ uses : addnab/docker-run-action@4f65fabd2431ebc8d299f8e5a018d79a769ae185
319319 if : ${{ steps.changed-tests.outputs.tests_any_changed == 'true' }}
320320 with :
321321 image : winsvega/evmone-coverage-script:latest
0 commit comments