Skip to content

Commit 4486643

Browse files
authored
Bump actions on CI (#3432)
## Description As stated in [github blog](https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down), `actions/cache@v2` is now deprecated. Also, our CIs fail for this reason. This PR bumps given action to `v4`. ## Test plan Check that Ci passes.
1 parent 9b45cdd commit 4486643

11 files changed

+26
-26
lines changed

.github/workflows/android-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
cancel-in-progress: true
2424
steps:
2525
- name: checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727
- name: Use Java 17
28-
uses: actions/setup-java@v3
28+
uses: actions/setup-java@v4
2929
with:
3030
distribution: 'oracle'
3131
java-version: '17'
3232
- name: Use Node.js 18
33-
uses: actions/setup-node@v2
33+
uses: actions/setup-node@v4
3434
with:
3535
node-version: 18
3636
cache: 'yarn'

.github/workflows/close-when-stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Actions
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
repository: 'software-mansion-labs/swmansion-bot'
2020
ref: stable
2121

22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: '**/node_modules'
2525
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/docs-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
WORKING_DIRECTORY: docs
1818
steps:
1919
- name: checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
- name: Use Node.js 18
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: 18
2525
cache: 'yarn'

.github/workflows/ios-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
cancel-in-progress: true
2424
steps:
2525
- name: checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v4
2727
- name: Use latest stable Xcode
2828
uses: maxim-lobanov/setup-xcode@v1
2929
with:
3030
xcode-version: '16.1'
3131
- name: Use Node.js 18
32-
uses: actions/setup-node@v2
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: 18
3535
cache: 'yarn'

.github/workflows/kotlin-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,21 @@ jobs:
1616
cancel-in-progress: true
1717
steps:
1818
- name: checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020

2121
- name: Use Java 17
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@v4
2323
with:
2424
distribution: 'oracle'
2525
java-version: '17'
2626

2727
- name: Use Node.js 18
28-
uses: actions/setup-node@v2
28+
uses: actions/setup-node@v4
2929
with:
3030
node-version: 18
3131
cache: 'yarn'
3232

33-
- uses: actions/cache@v2
33+
- uses: actions/cache@v4
3434
with:
3535
path: '**/node_modules'
3636
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
@@ -39,7 +39,7 @@ jobs:
3939
run: yarn install --frozen-lockfile
4040

4141
- name: Restore build from cache
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
with:
4444
path: |
4545
~/.gradle/caches

.github/workflows/macos-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
cancel-in-progress: true
2323
steps:
2424
- name: checkout
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2626
- name: Use Node.js 22
27-
uses: actions/setup-node@v2
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: 22
3030
cache: 'yarn'

.github/workflows/needs-more-info.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
cancel-in-progress: true
1313
steps:
1414
- name: Checkout Actions
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
with:
1717
repository: 'software-mansion-labs/swmansion-bot'
1818
ref: stable
1919

20-
- uses: actions/cache@v2
20+
- uses: actions/cache@v4
2121
with:
2222
path: '**/node_modules'
2323
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/needs-repro.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
cancel-in-progress: true
1515
steps:
1616
- name: Checkout Actions
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
repository: 'software-mansion-labs/swmansion-bot'
2020
ref: stable
2121

22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: '**/node_modules'
2525
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/platforms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
cancel-in-progress: true
1313
steps:
1414
- name: Checkout Actions
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
with:
1717
repository: 'software-mansion-labs/swmansion-bot'
1818
ref: stable
1919

20-
- uses: actions/cache@v2
20+
- uses: actions/cache@v4
2121
with:
2222
path: '**/node_modules'
2323
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

.github/workflows/static-example-apps-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
cancel-in-progress: true
2121
steps:
2222
- name: checkout
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
- name: Use Node.js 18
25-
uses: actions/setup-node@v2
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: 18
2828
cache: 'yarn'

0 commit comments

Comments
 (0)