1212jobs :
1313 build :
1414 uses : 10up/simple-podcasting/.github/workflows/build-release-zip.yml@develop
15+
1516 cypress :
1617 needs : build
1718 runs-on : ubuntu-latest
@@ -22,22 +23,25 @@ jobs:
2223 core :
2324 - {name: 'WP latest', version: 'latest'}
2425 - {name: 'WP trunk', version: 'WordPress/WordPress#master'}
25- - {name: 'WP minimum', version: 'WordPress/WordPress#6.5 '}
26+ - {name: 'WP minimum', version: 'WordPress/WordPress#6.6 '}
2627
2728 steps :
2829 - name : Checkout
29- uses : actions/checkout@v4
30+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
3032 - name : Download build zip
31- uses : actions/download-artifact@v4
33+ uses : actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # v4.2.0
3234 with :
3335 name : ${{ github.event.repository.name }}
3436 path : ${{ github.event.repository.name }}
37+
3538 - name : Display structure of downloaded files
3639 run : ls -R
3740 working-directory : ${{ github.event.repository.name }}
41+
3842 - name : Cache node_modules
3943 id : cache-node-modules
40- uses : actions/cache@v4
44+ uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
4145 env :
4246 cache-name : cache-node-modules
4347 with :
4650 ~/.cache
4751 ~/.npm
4852 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
53+
4954 - name : Install dependencies
5055 run : npm install
56+
5157 - name : Set the core version and plugins config
5258 run : ./tests/bin/set-wp-config.js --core=${{ matrix.core.version }} --plugins=./${{ github.event.repository.name }}
5359
6773 npx mochawesome-json-to-md -p ./tests/cypress/reports/mochawesome.json -o ./tests/cypress/reports/mochawesome.md
6874 npx mochawesome-report-generator tests/cypress/reports/mochawesome.json -o tests/cypress/reports/
6975 cat ./tests/cypress/reports/mochawesome.md >> $GITHUB_STEP_SUMMARY
76+
7077 - name : Make artifacts available
71- uses : actions/upload-artifact@v4
78+ uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
7279 if : failure()
7380 with :
7481 name : cypress-artifact
0 commit comments