Skip to content

Commit f316a3f

Browse files
committed
Upgrade all github actions to v4 variants
1 parent e5fea78 commit f316a3f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
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 }}
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: Checkout source code
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555
with:
5656
fetch-depth: 0
5757
- name: Install Rust stable toolchain
@@ -73,14 +73,14 @@ jobs:
7373
TOOLCHAIN: stable
7474
steps:
7575
- name: Checkout source code
76-
uses: actions/checkout@v3
76+
uses: actions/checkout@v4
7777
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
7878
run: |
7979
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
8080
rustup override set ${{ env.TOOLCHAIN }}
8181
- name: Cache routing graph snapshot
8282
id: cache-graph
83-
uses: actions/cache@v3
83+
uses: actions/cache@v4
8484
with:
8585
path: lightning/net_graph-2023-12-10.bin
8686
key: ldk-net_graph-v0.0.118-2023-12-10.bin
@@ -97,7 +97,7 @@ jobs:
9797
EXPECTED_ROUTING_GRAPH_SNAPSHOT_SHASUM: e94b38ef4b3ce683893bf6a3ee28d60cb37c73b059403ff77b7e7458157968c2
9898
- name: Cache scorer snapshot
9999
id: cache-scorer
100-
uses: actions/cache@v3
100+
uses: actions/cache@v4
101101
with:
102102
path: lightning/scorer-2023-12-10.bin
103103
key: ldk-scorer-v0.0.118-2023-12-10.bin
@@ -143,7 +143,7 @@ jobs:
143143
TOOLCHAIN: stable
144144
steps:
145145
- name: Checkout source code
146-
uses: actions/checkout@v3
146+
uses: actions/checkout@v4
147147
with:
148148
fetch-depth: 0
149149
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
@@ -166,7 +166,7 @@ jobs:
166166
TOOLCHAIN: stable
167167
steps:
168168
- name: Checkout source code
169-
uses: actions/checkout@v3
169+
uses: actions/checkout@v4
170170
with:
171171
fetch-depth: 0
172172
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
@@ -195,7 +195,7 @@ jobs:
195195
TOOLCHAIN: 1.63
196196
steps:
197197
- name: Checkout source code
198-
uses: actions/checkout@v3
198+
uses: actions/checkout@v4
199199
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
200200
run: |
201201
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
@@ -218,7 +218,7 @@ jobs:
218218
TOOLCHAIN: stable
219219
steps:
220220
- name: Checkout source code
221-
uses: actions/checkout@v3
221+
uses: actions/checkout@v4
222222
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
223223
run: |
224224
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
@@ -236,7 +236,7 @@ jobs:
236236
TOOLCHAIN: 1.63.0
237237
steps:
238238
- name: Checkout source code
239-
uses: actions/checkout@v3
239+
uses: actions/checkout@v4
240240
- name: Install Rust ${{ env.TOOLCHAIN }} toolchain
241241
run: |
242242
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }}
@@ -251,7 +251,7 @@ jobs:
251251
runs-on: ubuntu-latest
252252
if: github.ref_name != 'main' # `main` has no diff with itself
253253
steps:
254-
- uses: actions/checkout@v3
254+
- uses: actions/checkout@v4
255255
with:
256256
fetch-depth: 0
257257
- name: Relative diff

0 commit comments

Comments
 (0)