Skip to content

Commit 1f20bd3

Browse files
authored
Merge pull request #9429 from yyforyongyu/update-action
.github: update actions versions
2 parents baa3b0d + 2960395 commit 1f20bd3

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/actions/setup-go/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ runs:
1919

2020
steps:
2121
- name: setup go ${{ inputs.go-version }}
22-
uses: actions/setup-go@v3
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version: '${{ inputs.go-version }}'
2525

26-
- name: go module and build cache
26+
- name: go cache
2727
if: ${{ inputs.use-build-cache == 'yes' }}
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
3030
# In order:
3131
# * Module download cache

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: rm -rf /opt/hostedtoolcache
4949

5050
- name: git checkout
51-
uses: actions/checkout@v3
51+
uses: actions/checkout@v4
5252

5353
- name: setup go ${{ env.GO_VERSION }}
5454
uses: ./.github/actions/setup-go
@@ -74,7 +74,7 @@ jobs:
7474
run: rm -rf /opt/hostedtoolcache
7575

7676
- name: git checkout
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878

7979
- name: setup go ${{ env.GO_VERSION }}
8080
uses: ./.github/actions/setup-go
@@ -105,7 +105,7 @@ jobs:
105105
run: rm -rf /opt/hostedtoolcache
106106

107107
- name: git checkout
108-
uses: actions/checkout@v3
108+
uses: actions/checkout@v4
109109
with:
110110
fetch-depth: 0
111111

@@ -131,7 +131,7 @@ jobs:
131131
run: rm -rf /opt/hostedtoolcache
132132

133133
- name: git checkout
134-
uses: actions/checkout@v3
134+
uses: actions/checkout@v4
135135
with:
136136
fetch-depth: 0
137137

@@ -174,7 +174,7 @@ jobs:
174174
run: rm -rf /opt/hostedtoolcache
175175

176176
- name: git checkout
177-
uses: actions/checkout@v3
177+
uses: actions/checkout@v4
178178

179179
- name: setup go ${{ env.GO_VERSION }}
180180
uses: ./.github/actions/setup-go
@@ -197,7 +197,7 @@ jobs:
197197
run: rm -rf /opt/hostedtoolcache
198198

199199
- name: git checkout
200-
uses: actions/checkout@v3
200+
uses: actions/checkout@v4
201201

202202
- name: setup go ${{ env.GO_VERSION }}
203203
uses: ./.github/actions/setup-go
@@ -230,7 +230,7 @@ jobs:
230230
run: rm -rf /opt/hostedtoolcache
231231

232232
- name: git checkout
233-
uses: actions/checkout@v3
233+
uses: actions/checkout@v4
234234
with:
235235
fetch-depth: 0
236236

@@ -239,7 +239,7 @@ jobs:
239239
uses: ./.github/actions/rebase
240240

241241
- name: git checkout fuzzing seeds
242-
uses: actions/checkout@v3
242+
uses: actions/checkout@v4
243243
with:
244244
repository: lightninglabs/lnd-fuzz
245245
path: lnd-fuzz
@@ -293,7 +293,7 @@ jobs:
293293
run: rm -rf /opt/hostedtoolcache
294294

295295
- name: git checkout
296-
uses: actions/checkout@v3
296+
uses: actions/checkout@v4
297297
with:
298298
fetch-depth: 0
299299

@@ -360,7 +360,7 @@ jobs:
360360
args: backend=bitcoind dbbackend=postgres nativesql=true
361361
steps:
362362
- name: git checkout
363-
uses: actions/checkout@v3
363+
uses: actions/checkout@v4
364364
with:
365365
fetch-depth: 0
366366

@@ -411,7 +411,7 @@ jobs:
411411
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
412412
steps:
413413
- name: git checkout
414-
uses: actions/checkout@v3
414+
uses: actions/checkout@v4
415415
with:
416416
fetch-depth: 0
417417

@@ -455,7 +455,7 @@ jobs:
455455
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
456456
steps:
457457
- name: git checkout
458-
uses: actions/checkout@v3
458+
uses: actions/checkout@v4
459459
with:
460460
fetch-depth: 0
461461

@@ -504,7 +504,7 @@ jobs:
504504
run: rm -rf /opt/hostedtoolcache
505505

506506
- name: git checkout
507-
uses: actions/checkout@v3
507+
uses: actions/checkout@v4
508508

509509
- name: ensure dependencies at correct version
510510
run: if ! grep -q "${{ matrix.pinned_dep }}" go.mod; then echo dependency ${{ matrix.pinned_dep }} should not be altered ; exit 1 ; fi
@@ -521,7 +521,7 @@ jobs:
521521
run: rm -rf /opt/hostedtoolcache
522522

523523
- name: git checkout
524-
uses: actions/checkout@v3
524+
uses: actions/checkout@v4
525525

526526
- name: release notes check
527527
run: scripts/check-release-notes.sh

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: git checkout
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

2727
- name: setup go ${{ env.GO_VERSION }}
28-
uses: actions/setup-go@v2
28+
uses: actions/setup-go@v5
2929
with:
3030
go-version: '${{ env.GO_VERSION }}'
3131

0 commit comments

Comments
 (0)