Skip to content

Commit 016f0c7

Browse files
committed
Bump GitHub action workflows
1 parent 08c4be7 commit 016f0c7

File tree

3 files changed

+167
-168
lines changed

3 files changed

+167
-168
lines changed

.github/workflows/pr-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
check-dist:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717

1818
- name: Setup pnpm
1919
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5.0.0
2020
with:
2121
run_install: true
22-
version: 9
22+
version: 10.33.0
2323

2424
- name: Update dist/index.js
2525
run: pnpm run build

.github/workflows/test.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
pnpm:
18-
- 9.15.5
18+
- 10.33.0
1919
os:
2020
- ubuntu-latest
2121
- macos-latest
2222
- windows-latest
2323

2424
steps:
25-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
25+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626

2727
- name: Run the action
2828
uses: ./
2929
with:
30-
version: 9.15.5
30+
version: 10.33.0
3131

3232
- name: 'Test: which'
3333
run: which pnpm; which pnpx
@@ -59,19 +59,19 @@ jobs:
5959
fail-fast: false
6060
matrix:
6161
pnpm:
62-
- 9.15.5
62+
- 10.33.0
6363
os:
6464
- ubuntu-latest
6565
- macos-latest
6666
- windows-latest
6767

6868
steps:
69-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
69+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7070

7171
- name: Run the action
7272
uses: ./
7373
with:
74-
version: 9.15.5
74+
version: 10.33.0
7575
dest: ~/test/pnpm
7676

7777
- name: 'Test: which'
@@ -100,12 +100,12 @@ jobs:
100100
- windows-latest
101101

102102
steps:
103-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
103+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104104

105105
- name: Run the action
106106
uses: ./
107107
with:
108-
version: 9.15.0
108+
version: 10.33.0
109109
standalone: true
110110

111111
- name: 'Test: which'
@@ -142,11 +142,11 @@ jobs:
142142
- macos-latest
143143
- windows-latest
144144
version:
145-
- '9.15.5'
146-
- '>=9.15.0'
145+
- '10.33.0'
146+
- '>=10.33.0'
147147

148148
steps:
149-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
149+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
150150

151151
- name: Set up package.json with devEngines.packageManager
152152
run: echo '{"devEngines":{"packageManager":{"name":"pnpm","version":"${{ matrix.version }}","onFail":"download"}}}' > package.json
@@ -165,8 +165,8 @@ jobs:
165165
actual="$(pnpm --version)"
166166
echo "pnpm version: ${actual}"
167167
168-
if [ "${required}" = ">=9.15.0" ]; then
169-
min="9.15.0"
168+
if [ "${required}" = ">=10.33.0" ]; then
169+
min="10.33.0"
170170
if [ "$(printf '%s\n' "${min}" "${actual}" | sort -V | head -n1)" != "${min}" ]; then
171171
echo "Expected pnpm version >= ${min}, but got ${actual}"
172172
exit 1
@@ -188,7 +188,7 @@ jobs:
188188
fail-fast: false
189189
matrix:
190190
pnpm:
191-
- 9.15.5
191+
- 10.33.0
192192
os:
193193
- ubuntu-latest
194194
- macos-latest
@@ -205,12 +205,12 @@ jobs:
205205
- yarn
206206
207207
steps:
208-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
208+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
209209

210210
- name: Run the action
211211
uses: ./
212212
with:
213-
version: 9.15.5
213+
version: 10.33.0
214214
run_install: ${{ matrix.run_install.value }}
215215

216216
- name: 'Test: which'

0 commit comments

Comments
 (0)