.github: update actions versions

This commit is contained in:
yyforyongyu 2024-07-24 22:28:50 +08:00
parent baa3b0dea3
commit 29603954bd
No known key found for this signature in database
GPG key ID: 9BCD95C4FF296868
3 changed files with 19 additions and 19 deletions

View file

@ -19,13 +19,13 @@ runs:
steps:
- name: setup go ${{ inputs.go-version }}
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '${{ inputs.go-version }}'
- name: go module and build cache
- name: go cache
if: ${{ inputs.use-build-cache == 'yes' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
# In order:
# * Module download cache

View file

@ -48,7 +48,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
@ -74,7 +74,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
@ -105,7 +105,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -131,7 +131,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -174,7 +174,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
@ -197,7 +197,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup go ${{ env.GO_VERSION }}
uses: ./.github/actions/setup-go
@ -230,7 +230,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -239,7 +239,7 @@ jobs:
uses: ./.github/actions/rebase
- name: git checkout fuzzing seeds
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: lightninglabs/lnd-fuzz
path: lnd-fuzz
@ -293,7 +293,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -360,7 +360,7 @@ jobs:
args: backend=bitcoind dbbackend=postgres nativesql=true
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -411,7 +411,7 @@ jobs:
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -455,7 +455,7 @@ jobs:
if: '!contains(github.event.pull_request.labels.*.name, ''no-itest'')'
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -504,7 +504,7 @@ jobs:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: ensure dependencies at correct version
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:
run: rm -rf /opt/hostedtoolcache
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: release notes check
run: scripts/check-release-notes.sh

View file

@ -20,12 +20,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: '${{ env.GO_VERSION }}'