File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ jobs:
2424 run : git config --global url.https://github.com/.insteadOf git://github.com/
2525
2626 - name : Checkout code
27- uses : actions/checkout@v4
27+ uses : actions/checkout@v7
2828 with :
2929 submodules : recursive
3030
31- - uses : actions/setup-node@v3
31+ - uses : actions/setup-node@v6
3232 with :
3333 node-version-file : ' .nvmrc'
3434
5353 rm -rf "$PLUGIN_NAME"
5454
5555 - name : Upload plugin zip
56- uses : actions/upload-artifact@v4
56+ uses : actions/upload-artifact@v7
5757 with :
5858 name : ${{ env.PLUGIN_NAME }}
5959 path : ${{ env.PLUGIN_NAME }}.zip
Original file line number Diff line number Diff line change 1414 steps :
1515 - name : Set Git to use HTTPS instead of SSH
1616 run : git config --global url.https://github.com/.insteadOf git://github.com/
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v7
1818 with :
1919 submodules : recursive
2020 - uses : shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
2323 tools : composer
2424 extensions : mysql
2525 coverage : none
26- - uses : actions/setup-node@v3
26+ - uses : actions/setup-node@v6
2727 with :
2828 node-version-file : ' .nvmrc'
2929 - name : Kill process running on port 8084 to unblock it
Original file line number Diff line number Diff line change 99 steps :
1010 - name : Set Git to use HTTPS instead of SSH
1111 run : git config --global url.https://github.com/.insteadOf git://github.com/
12- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v7
1313 with :
1414 submodules : recursive
1515 - uses : shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
1818 tools : composer
1919 extensions : mysql
2020 coverage : none
21- - uses : actions/setup-node@v2
21+ - uses : actions/setup-node@v6
2222 with :
2323 node-version-file : ' .nvmrc'
2424 - name : Kill process running on port 8084 to unblock it
Original file line number Diff line number Diff line change 77 name : JS Eslint and Test
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v7
1111 with :
1212 submodules : recursive
13- - uses : actions/setup-node@v2
13+ - uses : actions/setup-node@v6
1414 with :
1515 node-version : ' 10.16.0'
1616 - run : git config --global url.https://github.com/.insteadOf git://github.com/
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
1515 - name : Set Git to use HTTPS instead of SSH
1616 run : git config --global url.https://github.com/.insteadOf git://github.com/
1717 - name : Checkout code
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v7
1919 with :
2020 submodules : recursive
21- - uses : actions/setup-node@v2
21+ - uses : actions/setup-node@v6
2222 with :
2323 node-version-file : ' .nvmrc'
2424 - name : Install NPM dependencies
2828
2929 # Switch to a modern Node for QIT CLI internals (CTRF merge requires Node 12+).
3030 # The npm build above already completed on Node 10 from .nvmrc.
31- - uses : actions/setup-node@v2
31+ - uses : actions/setup-node@v6
3232 with :
3333 node-version : ' 20'
3434
6060 run : cat ${{ github.workspace }}/qit-results/qit-security-results.txt
6161 - name : Upload results
6262 if : always()
63- uses : actions/upload-artifact@v4
63+ uses : actions/upload-artifact@v7
6464 with :
6565 name : qit-results
6666 path : ${{ github.workspace }}/qit-results/
Original file line number Diff line number Diff line change 6262 wc_rc_version : ${{ steps.get_wc_rc_versions_for_matrix.outputs.wc_rc_version }}
6363 steps :
6464 - name : Checkout WooCommerce Shipping
65- uses : actions/checkout@v4
65+ uses : actions/checkout@v7
6666 - name : Get current branch
6767 id : get_branch
6868 run : echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
@@ -92,10 +92,10 @@ jobs:
9292 name : JS ESLint Tests
9393 runs-on : ubuntu-latest
9494 steps :
95- - uses : actions/checkout@v4
95+ - uses : actions/checkout@v7
9696 with :
9797 submodules : recursive
98- - uses : actions/setup-node@v3
98+ - uses : actions/setup-node@v6
9999 with :
100100 node-version-file : ' .nvmrc'
101101 - run : git config --global url.https://github.com/.insteadOf git://github.com/
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - name : Checkout latest WCS
11- uses : actions/checkout@v2
11+ uses : actions/checkout@v7
1212 with :
1313 submodules : recursive
1414 - name : Setup PHP
2525 wp-versions : ${{ steps.get_wp_versions_for_matrix.outputs.wp-versions }}
2626 steps :
2727 - name : Checkout WCS&T
28- uses : actions/checkout@v2
28+ uses : actions/checkout@v7
2929 - name : Get the 3 latest WP minor versions
3030 id : get_wp_versions_for_matrix
3131 run : echo "::set-output name=wp-versions::$(git ls-remote --tags --refs https://github.com/WordPress/WordPress.git | sed 's/.*refs\/tags\///' | php ./bin/get-latest-version.php)"
6262 echo "SVN is already installed."
6363 fi
6464 - name : Checkout WCS&T
65- uses : actions/checkout@v2
65+ uses : actions/checkout@v7
6666 with :
6767 submodules : recursive
6868 - name : Checkout WooCommerce
@@ -75,10 +75,10 @@ jobs:
7575 id : get_wc_pnpm_version
7676 run : echo "WC_PNPM=$( grep packageManager /tmp/woocommerce/package.json | sed -nr 's/.+packageManager.+pnpm@([[:digit:].]+).+/\1/p' )" >> "$GITHUB_OUTPUT"
7777 - name : Setup PNPM
78- uses : pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
78+ uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
7979 with :
8080 version : ${{ steps.get_wc_pnpm_version.outputs.WC_PNPM }}
81- - uses : actions/setup-node@v3
81+ - uses : actions/setup-node@v6
8282 with :
8383 node-version : ' v16'
8484
Original file line number Diff line number Diff line change 9696 mkdir ${{ github.workspace }}/qit-results
9797
9898 - name : Download the zip
99- uses : actions/download-artifact@v4
99+ uses : actions/download-artifact@v8
100100 with :
101101 name : ${{ inputs.artifact }}
102102 path : ${{ github.workspace }}
@@ -280,7 +280,7 @@ jobs:
280280
281281 - name : Upload results
282282 if : always()
283- uses : actions/upload-artifact@v4
283+ uses : actions/upload-artifact@v7
284284 with :
285285 name : qit-results
286286 path : ${{ github.workspace }}/qit-results/
Original file line number Diff line number Diff line change 1919 runs-on : ubuntu-latest
2020 steps :
2121 - name : Checkout latest WCS
22- uses : actions/checkout@v4
22+ uses : actions/checkout@v7
2323 with :
2424 submodules : recursive
2525 - name : Setup PHP
6767 echo "SVN is already installed."
6868 fi
6969 - name : Checkout WCS&T
70- uses : actions/checkout@v4
70+ uses : actions/checkout@v7
7171 with :
7272 submodules : recursive
7373 - name : Checkout WooCommerce
@@ -80,10 +80,10 @@ jobs:
8080 id : get_wc_pnpm_version
8181 run : echo "WC_PNPM=$( grep packageManager /tmp/woocommerce/package.json | sed -nr 's/.+packageManager.+pnpm@([[:digit:].]+).+/\1/p' )" >> "$GITHUB_OUTPUT"
8282 - name : Setup PNPM
83- uses : pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2.4.1
83+ uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
8484 with :
8585 version : ${{ steps.get_wc_pnpm_version.outputs.WC_PNPM }}
86- - uses : actions/setup-node@v3
86+ - uses : actions/setup-node@v6
8787 with :
8888 node-version : ' v20'
8989 - name : Build WooCommerce essentials for running tests
Original file line number Diff line number Diff line change 1616 steps :
1717 # Step 1: Checkout the repository
1818 - name : Checkout Repository
19- uses : actions/checkout@v3
19+ uses : actions/checkout@v7
2020
2121 # Step 2: Fetch the latest WooCommerce release
2222 - name : Fetch Latest WooCommerce Release
You can’t perform that action at this time.
0 commit comments