Skip to content

Commit f3cc788

Browse files
committed
Upgrade all github actions to v4 variants
1 parent 6ab857e commit f3cc788

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ${{ matrix.platform }}
2323
steps:
2424
- name: Checkout source code
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Install Rust ${{ matrix.toolchain }} toolchain
2727
run: |
2828
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }}
@@ -72,7 +72,7 @@ jobs:
7272
runs-on: ubuntu-latest
7373
steps:
7474
- name: Checkout source code
75-
uses: actions/checkout@v3
75+
uses: actions/checkout@v4
7676
with:
7777
fetch-depth: 0
7878
- name: Install Rust stable toolchain
@@ -94,14 +94,14 @@ jobs:
9494
TOOLCHAIN: stable
9595
steps:
9696
- name: Checkout source code
97-
uses: actions/checkout@v3
97+
uses: actions/checkout@v4
9898
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
9999
run: |
100100
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
101101
rustup override set ${{ env.TOOLCHAIN }}
102102
- name: Cache routing graph snapshot
103103
id: cache-graph
104-
uses: actions/cache@v3
104+
uses: actions/cache@v4
105105
with:
106106
path: lightning/net_graph-2023-12-10.bin
107107
key: ldk-net_graph-v0.0.118-2023-12-10.bin
@@ -118,7 +118,7 @@ jobs:
118118
EXPECTED_ROUTING_GRAPH_SNAPSHOT_SHASUM: e94b38ef4b3ce683893bf6a3ee28d60cb37c73b059403ff77b7e7458157968c2
119119
- name: Cache scorer snapshot
120120
id: cache-scorer
121-
uses: actions/cache@v3
121+
uses: actions/cache@v4
122122
with:
123123
path: lightning/scorer-2023-12-10.bin
124124
key: ldk-scorer-v0.0.118-2023-12-10.bin
@@ -164,7 +164,7 @@ jobs:
164164
TOOLCHAIN: stable
165165
steps:
166166
- name: Checkout source code
167-
uses: actions/checkout@v3
167+
uses: actions/checkout@v4
168168
with:
169169
fetch-depth: 0
170170
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
@@ -187,7 +187,7 @@ jobs:
187187
TOOLCHAIN: stable
188188
steps:
189189
- name: Checkout source code
190-
uses: actions/checkout@v3
190+
uses: actions/checkout@v4
191191
with:
192192
fetch-depth: 0
193193
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
@@ -216,7 +216,7 @@ jobs:
216216
TOOLCHAIN: 1.63
217217
steps:
218218
- name: Checkout source code
219-
uses: actions/checkout@v3
219+
uses: actions/checkout@v4
220220
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
221221
run: |
222222
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
@@ -239,7 +239,7 @@ jobs:
239239
TOOLCHAIN: stable
240240
steps:
241241
- name: Checkout source code
242-
uses: actions/checkout@v3
242+
uses: actions/checkout@v4
243243
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
244244
run: |
245245
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
@@ -257,7 +257,7 @@ jobs:
257257
TOOLCHAIN: 1.63.0
258258
steps:
259259
- name: Checkout source code
260-
uses: actions/checkout@v3
260+
uses: actions/checkout@v4
261261
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
262262
run: |
263263
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
@@ -272,7 +272,7 @@ jobs:
272272
runs-on: ubuntu-latest
273273
if: github.ref_name != 'main' # `main` has no diff with itself
274274
steps:
275-
- uses: actions/checkout@v3
275+
- uses: actions/checkout@v4
276276
with:
277277
fetch-depth: 0
278278
- name: Relative diff

0 commit comments

Comments
 (0)