@@ -19,11 +19,11 @@ jobs:
1919 TERM : xterm
2020 steps :
2121 - name : Set up JDK
22- uses : actions/setup-java@v1
22+ uses : actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
2323 with :
2424 java-version : 14
2525 - name : Checkout monetery-test
26- uses : actions/checkout@v2
26+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2727 with :
2828 repository : ${{github.repository}}
2929 path : monetery-test
5959 echo "cypress_version=$cypress_version_temp" >> $GITHUB_ENV
6060 - name : Cache Cypress
6161 id : cache-cypress
62- uses : actions/cache@v1
62+ uses : actions/cache@f5ce41475b483ad7581884324a6eca9f48f8dcc7 # v1
6363 with :
6464 path : ~/.cache/Cypress
6565 key : cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }}
@@ -68,25 +68,25 @@ jobs:
6868 - run : npx cypress cache list
6969 - run : npx cypress cache path
7070 - name : Cypress tests
71- uses : cypress-io/github-action@v2
71+ uses : cypress-io/github-action@f5bea478b80a774068179089247f13d60abc5010 # v2
7272 with :
7373 working-directory : monetery-test
7474 command : yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/vanilla-opensearch-dashboards/*.js'
7575 wait-on : ' http://localhost:5601'
7676 # Screenshots are only captured on failure, will change this once we do visual regression tests
77- - uses : actions/upload-artifact@v1
77+ - uses : actions/upload-artifact@3446296876d12d4e3a0f3145a3c87e67bf0a16b5 # v1
7878 if : failure()
7979 with :
8080 name : cypress-screenshots
8181 path : monetery-test/cypress/screenshots
8282 # Test run video was always captured, so this action uses "always()" condition
83- - uses : actions/upload-artifact@v1
83+ - uses : actions/upload-artifact@3446296876d12d4e3a0f3145a3c87e67bf0a16b5 # v1
8484 if : always()
8585 with :
8686 name : cypress-videos
8787 path : monetery-test/cypress/videos
8888 # Test reports was always captured, so this action uses "always()" condition
89- - uses : actions/upload-artifact@v1
89+ - uses : actions/upload-artifact@3446296876d12d4e3a0f3145a3c87e67bf0a16b5 # v1
9090 if : always()
9191 with :
9292 name : cypress-results
0 commit comments