Skip to content

Commit 2689526

Browse files
committed
ci: bump deprecated actions/checkout and actions/cache to v4 in lint-code
GitHub started auto-failing workflows using actions/cache@v2 in December 2025 (deprecation notice). actions/checkout@v2 is in the same bucket. With this PR removing the 'branches: [main]' filter on pr.yml, the lint-code job now runs on every PR — so the red-flag deprecation caught by the runner causes every new PR to fail until these two pins are rotated forward. Minimal change: v2 → v4 on both uses: lines; everything else in the job stays the same. Signed-off-by: yuriyryabikov <22548029+kurok@users.noreply.github.com>
1 parent 6e6cabe commit 2689526

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1111
- name: Cache dependencies
12-
uses: actions/cache@v2
12+
uses: actions/cache@v4
1313
with:
1414
path: '**/node_modules'
1515
key: ec2-github-runner-${{ hashFiles('**/package-lock.json') }}

0 commit comments

Comments
 (0)