Skip to content

Commit e9f1092

Browse files
Use actions running on node16
Node 12 has been out of support since April 2022, as a result GitHub has started the deprecation process of Node 12 for GitHub Actions. They plan to migrate all actions to run on Node16 by Summer 2023. Some of the GH Marketplace actions that we've been using in our workflows were running on `node12`, but have already published new versions running on `node16`. We're updating those actions to the latest versions. Read more on https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
1 parent 79f658f commit e9f1092

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/contracts.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
contracts-build-and-test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

16-
- uses: actions/setup-node@v2
16+
- uses: actions/setup-node@v3
1717
with:
1818
node-version: "14"
1919
cache: "yarn"
@@ -30,9 +30,9 @@ jobs:
3030
contracts-lint:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3434

35-
- uses: actions/setup-node@v2
35+
- uses: actions/setup-node@v3
3636
with:
3737
node-version: "14"
3838
cache: "yarn"
@@ -46,14 +46,14 @@ jobs:
4646
contracts-slither:
4747
runs-on: ubuntu-latest
4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v3
5050

51-
- uses: actions/setup-node@v2
51+
- uses: actions/setup-node@v3
5252
with:
5353
node-version: "14"
5454
cache: "yarn"
5555

56-
- uses: actions/setup-python@v2
56+
- uses: actions/setup-python@v4
5757
with:
5858
python-version: 3.8.5
5959

.github/workflows/format.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
code-format:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515

16-
- uses: actions/setup-node@v2
16+
- uses: actions/setup-node@v3
1717
with:
1818
node-version: "14"
1919
cache: "yarn"

.github/workflows/npm.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
npm-compile-publish-contracts:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1818

19-
- uses: actions/setup-node@v2
19+
- uses: actions/setup-node@v3
2020
with:
2121
node-version: "14.x"
2222
cache: "yarn"

0 commit comments

Comments
 (0)