Skip to content

Commit 55e5854

Browse files
authored
CI: Upgrade "actions/(checkout|cache)" to version 2 (#41336)
* CI: Upgraded version of "actions/checkout" * CI: Upgraded version of "actions/cache" * Added fetch-depth: 0 Co-authored-by: ShaharNaveh <>
1 parent 3457359 commit 55e5854

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

.github/workflows/ci.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v1
25+
uses: actions/checkout@v2
26+
with:
27+
fetch-depth: 0
2628

2729
- name: Looking for unwanted patterns
2830
run: ci/code_checks.sh patterns
@@ -94,7 +96,9 @@ jobs:
9496
steps:
9597

9698
- name: Checkout
97-
uses: actions/checkout@v1
99+
uses: actions/checkout@v2
100+
with:
101+
fetch-depth: 0
98102

99103
- name: Set up pandas
100104
uses: ./.github/actions/setup
@@ -147,7 +151,9 @@ jobs:
147151
steps:
148152

149153
- name: Checkout
150-
uses: actions/checkout@v1
154+
uses: actions/checkout@v2
155+
with:
156+
fetch-depth: 0
151157

152158
- name: Set up pandas
153159
uses: ./.github/actions/setup

.github/workflows/database.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ jobs:
5656

5757
steps:
5858
- name: Checkout
59-
uses: actions/checkout@v1
59+
uses: actions/checkout@v2
60+
with:
61+
fetch-depth: 0
6062

6163
- name: Cache conda
62-
uses: actions/cache@v1
64+
uses: actions/cache@v2
6365
env:
6466
CACHE_NUMBER: 0
6567
with:

.github/workflows/posix.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ jobs:
4444

4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v1
47+
uses: actions/checkout@v2
48+
with:
49+
fetch-depth: 0
4850

4951
- name: Cache conda
50-
uses: actions/cache@v1
52+
uses: actions/cache@v2
5153
env:
5254
CACHE_NUMBER: 0
5355
with:

0 commit comments

Comments
 (0)