Merge pull request #9429 from yyforyongyu/update-action

.github: update actions versions
This commit is contained in:
Oliver Gugger
2025-01-20 09:01:46 -06:00
committed by GitHub
3 changed files with 19 additions and 19 deletions

View File

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

View File

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

View File

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