2020 steps :
2121 - name : " Checking changed files"
2222 id : files
23- uses : softprops/diffset@db8c4e13f5cc3f8ab666ba2cb6998b688058a41c # v1
23+ uses : softprops/diffset@d60d53313c1b61c12ccb0fc76cbde5a14ae5d330 # v3
2424 if : github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
2525 with :
2626 base : main
@@ -29,25 +29,26 @@ jobs:
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131 - name : " Checking-out code"
32- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
32+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3333 with :
3434 fetch-depth : 0
3535 - name : " Fetching main to compare"
3636 if : github.event_name == 'pull_request' && steps.files.outputs.global_files == ''
3737 run : git fetch --no-tags --prune --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/remotes/origin/${{ github.base_ref }}
3838 - name : " Defining node version"
39- uses : actions/setup-node@d86ebcd40b3cb50b156bfa44dd277faf38282d12 # v4
39+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4040 with :
4141 node-version-file : " .nvmrc"
42+ package-manager-cache : false
4243 - name : " Setup pnpm"
43- uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
44+ uses : pnpm/action-setup@a8198c4bff370c8506180b035930dea56dbd5288 # v5
4445 - name : " Get pnpm store directory"
4546 id : pnpm-cache
4647 shell : bash
4748 run : |
4849 echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
4950 - name : " Setup cache"
50- uses : actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4
51+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
5152 with :
5253 path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
5354 key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
0 commit comments